Jump to content

Php Emails


ShaolinF

Recommended Posts

Hi Guys,

 

When a client submits a form an email is dispatched via php to the email address. The problem is mainly with hotmail. When the email is sent, the message has a "!" sign next to it and at the top of the email the following message is listed:

 

The sender of this message, [email protected], could not be verified by Sender ID. Learn more about Sender ID.

 

Some of my clients might get worried and delete the message. Is there a way I can overcome this problem ? Here is my script:

 

$subject = "Thank you for your email";
$headers = "From: Sender <[email protected]>\n";
$headers .= "MIME-Version: 1.0\n"; 
$headers .= "Content-type: text/html; charset=iso-8859-1\n"; 
$headers .= "Reply-To: Sender <[email protected]>\n"; 
$headers .= "X-Priority: 1\n"; 
$headers .= "X-MSmail-Priority: High\n"; 
$headers .= "X-mailer: My mailer"; 

$message .= '<a href="http://www.mysite.com/">Message goes here</a>';

mail ($to, $subject, $message, $headers) 

Link to comment
https://forums.phpfreaks.com/topic/59178-php-emails/
Share on other sites

Why don't you tell us the email address you are actually putting in as the sender.  If its a bs domain your putting in, then I doubt there is a way around it.  If hotmail believes your server is potentially black mailed then you have to get your server on the "good list."  Are you sending from a static or dynamic IP address btw.

 

Answer those questions for us please.

Link to comment
https://forums.phpfreaks.com/topic/59178-php-emails/#findComment-293962
Share on other sites

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.