summaryrefslogtreecommitdiff
path: root/theme/static
diff options
context:
space:
mode:
authorSebastian Krzyszkowiak <dos@neo900.org>2014-07-11 15:36:09 +0200
committerSebastian Krzyszkowiak <dos@neo900.org>2014-07-11 15:36:09 +0200
commit4e6bc3f2bd3eba3998f2db559e3ae15034bba631 (patch)
tree21652454eed8a7321d6f21fe587316ea295a8b96 /theme/static
parentb4bf1b5e5db3d4b68a13a9652a4e43dcaf8cba19 (diff)
downloadwww-4e6bc3f2bd3eba3998f2db559e3ae15034bba631.tar.gz
www-4e6bc3f2bd3eba3998f2db559e3ae15034bba631.tar.bz2
www-4e6bc3f2bd3eba3998f2db559e3ae15034bba631.zip
subscribe.php: try to make it less likely to be marked as spam
Signed-off-by: Sebastian Krzyszkowiak <dos@neo900.org>
Diffstat (limited to 'theme/static')
-rw-r--r--theme/static/subscribe.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/theme/static/subscribe.php b/theme/static/subscribe.php
index bb32c78..0b66bf4 100644
--- a/theme/static/subscribe.php
+++ b/theme/static/subscribe.php
@@ -17,6 +17,6 @@ if (mysql_num_rows($row)) {
mysql_query("INSERT INTO neo900_subscription SET mail='".mysql_real_escape_string($_POST['neo900-mail'])."'") or die("Unexpected database storage error. Please try again later.");
echo('Your e-mail has been registered. Thank you!');
-mail($_POST['neo900-mail'], 'Neo900 newsletter registration', "Hello!\n\nThis e-mail address has just been used for registration to the newsletter on the Neo900 website.\n\nIf that's what you just did, ignore this message. If you haven't requested anything like that, reply to this mail and say so - you'll be unregistered.\n\nThank you for your support!\n\nNeo900 team\nhttp://neo900.org/", "From: Neo900 <newsletter@neo900.org>");
+mail($_POST['neo900-mail'], 'Neo900 newsletter registration', "Hello!\r\n\r\nThis e-mail address has just been used for registration to the newsletter on the Neo900 website.\r\n\r\nIf that's what you just did, ignore this message. If you haven't requested anything like that, reply to this mail and say so - you'll be unregistered.\r\n\r\nThank you for your support!\r\n\r\nNeo900 team\r\nhttp://neo900.org/", "From: Neo900 <newsletter@neo900.org>\r\nContent-Type: text/plain;charset=utf-8\r\nList-Unsubscribe: <mailto:newsletter@neo900.org>\r\nAuto-Submitted: auto-generated\r\n");
?>