Welcome Guest, Not a member yet? Register   Sign In
Email class and hotmail!
#6

[eluser]tobben[/eluser]
Yes, it is a problem. Ive got banned one billion times.

It can of course be a lot of things that make hotmail go nuts and put the mail to the junk.

It can be the words in the message itself that triggers the insain mr police officer spam filter.

It can be non-standard mail headers, or missing use of CRLF (in SMTP connections) (RFC1425, RFC822), so I believe you must use \r\n to seperate headers, although some Unix mail transfer agents may work with just a single newline (\n). Not sure if its the \r\n vs \n issue that causes the problem though.

But it can also be missing header elements..

Code:
mail ($to, $subject, $message, $headers);

$to = "someone <some@email>";
$subject = "You've got mail!";
$message = "Hello someone.";
$headers = "From: [email protected]\n";
$headers .= "MIME-Version: 1.0\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\n";
$headers .= "Reply-To: me <[email protected]>\n";
$headers .= "X-Priority: 1\n";
$headers .= "X-MSmail-Priority: High\n";
$headers .= "X-mailer: My mailer";


Messages In This Thread
Email class and hotmail! - by El Forum - 09-17-2007, 09:29 PM
Email class and hotmail! - by El Forum - 09-18-2007, 02:17 AM
Email class and hotmail! - by El Forum - 09-18-2007, 04:29 AM
Email class and hotmail! - by El Forum - 09-18-2007, 08:43 AM
Email class and hotmail! - by El Forum - 09-18-2007, 10:13 AM
Email class and hotmail! - by El Forum - 09-18-2007, 10:52 AM
Email class and hotmail! - by El Forum - 09-18-2007, 06:34 PM
Email class and hotmail! - by El Forum - 09-18-2007, 09:24 PM
Email class and hotmail! - by El Forum - 09-18-2007, 09:29 PM
Email class and hotmail! - by El Forum - 09-19-2007, 09:21 PM
Email class and hotmail! - by El Forum - 06-27-2008, 06:28 AM
Email class and hotmail! - by El Forum - 06-30-2008, 06:59 PM



Theme © iAndrew 2016 - Forum software by © MyBB