Jump to content

mail() header to prevent mail going straight to junk


popcop

Recommended Posts

im using these headers in my PHP to make sure that emails are avoiding the junk mail folder but they dont seem to be working very well.

 

 $headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
 $headers .= "From: [email protected] <[email protected]>\r\n";
 $headers .= "Reply-To: [email protected] <[email protected]>\r\n";
 $headers .= "Return-Path: [email protected] <[email protected]>\r\n";
 $headers .= "X-Priority: 3\r\n";
 $headers .= "X-MSMail-Priority: Normal\r\n";

 

is there anythin from the above code that u would change or remove that might help this work?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.