Jump to content

prevent mail() email from showing up as phishing in outlook?


toephu

Recommended Posts

i'm in an internal organization sending out reminder emails and reports using PHP.. i have all the right encoding and a internal "from" email address. There is one url included in the email however it is an internal intranet site. Outlook still shows the warning message "this may be a phising message and is potentially unsafe..etc"

of course the user can click that and then add to safe list but I would like by default that the emails are safe that way the users don't mistake it for spam.

i use this to mail (with some other stuff above)

$headers .= 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=UTF-8' . "\r\n";
if (!mail($to,$subject,$message,$headers))
  echo "notification email failed to send";

 

 

any ideas? do i need to talk to my Exchange administrators and get them to add the from email to their safe list and this won't show up as phishing?

Link to comment
Share on other sites

Do your headers have "From" set? Is your internal site an IP address?

 

yea, from is set like this

$headers = "From: Admin Blah <AdminBlah@company.com>\r\n";

and I had the admins create the email alias "AdminBlah" foward to my email.

 

yes the site is an IP addy: http://172.168.0.1/blahsite

 

anyway i will try the suggestions in the link above by radar

 

Link to comment
Share on other sites

 

i added those:

 $header .= "Reply-To: Some One <someone@mydomain.com>\r\n";     $header .= "Return-Path: Some One <someone@mydomain.com>\r\n";     $header .= "From: Some One <mydomain@myhost.com>\r\n"; 

 

unfortunately it did not work..

outlook still flags it as phishing... oh well

at least it doesn't put in the junk email folder.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

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

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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...

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.