note 43778 added to function.mail
| From: | mdaniel at mangovision dot com | Date: | Sat, 03 Jul 2004 02:19:37 +0000 |
| Subject: | note 43778 added to function.mail | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-72353@lists.php.net to get a copy of this message | ||
I was recently having troubles sending mail to a spamassassin protected server. These headers fixed
it for me.
$headers .= "X-Habeas-SWE-1: winter into spring\r\n";
$headers .= "X-Habeas-SWE-2: brightly anticipated\r\n";
$headers .= "X-Habeas-SWE-3: like Habeas SWE (tm)\r\n";
$headers .= "X-Habeas-SWE-4: Copyright 2002 Habeas (tm)\r\n";
$headers .= "X-Habeas-SWE-5: Sender Warranted Email (SWE) (tm). The sender of this\r\n";
$headers .= "X-Habeas-SWE-6: email in exchange for a license for this Habeas\r\n";
$headers .= "X-Habeas-SWE-7: warrant mark warrants that this is a Habeas Compliant\r\n";
$headers .= "X-Habeas-SWE-8: Message (HCM) and not spam. Please report use of this\r\n";
$headers .= "X-Habeas-SWE-9: mark in spam to <http://www.habeas.com/report/>.\r\n";
It's a generic header meant to take away the difficulty to get legitimate e-mails through spam
blockers. It's nice to have as just an increased chance your mail will get through.
----
Manual Page -- http://www.php.net/manual/en/function.mail.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+43778
Delete -- http://master.php.net/manage/user-notes.php?action=delete+43778&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+43778&report=yes
Search -- http://master.php.net/manage/user-notes.php