Jump to content

Recommended Posts

Posted

i m sending mails in our website using the php mail() function,

for some yahoo ids it is going into the bulk folder of yahoo.

And i dont want the mails to go in the bulk folder.

 

i m using the following code:

 

$headers .= "X-Priority: 1\n";

$headers .= "X-MSMail-Priority: High\n";

$headers .= "Return-Path: <$from_email>\n";

$headers .= "Reply-To: <".$from_email.">\n";

$headers .= "From: $from_name <" . $from_email . ">\n";

$headers .= "X-Sender: <$from_email>\n";

$headers .= "X-Mailer: PHP4\n";

 

mail($to_email,$subject,$message,$headers);

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...