Jump to content

Emails sent out from server are blocked and junked.


this.user

Recommended Posts

Here there guys, I am having an issue with sending out emails, when I send them out, they are either blocked or junked by different mail servers.

 

Could someone please explain to me why this is happening, and look at my code and let me know what i can do to change it.

 

HEre is the code:

 

$boundary = uniqid('np');

		$headers = "MIME-Version: 1.0\r\n";
		$headers .= "From: Support <help@mysite.com>\r\n";
		$headers .= "Subject: $subject\r\n";
		$headers .= "Content-Type: multipart/alternative;boundary=" . $boundary . "\r\n";


		$zmessage = "This is a MIME encoded message.";
		$zmessage .= "\r\n\r\n--" . $boundary . "\r\n";
		$zmessage .= "Content-type: text/html;charset=utf-8\r\n\r\n";
		$message =  $zmessage . $message

		$message .= "\r\n\r\n--" . $boundary . "--";

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

 

here is what it looks like when it arrives

 

Authentication-Results: hotmail.com; sender-id=temperror (sender IP is 208.109.80.58) header.from=help@mysite.com; dkim=none header.d=mysite.com; x-hmca=none

X-Message-Status: n:0:n

X-SID-PRA: Support <help@mysite.com>

X-DKIM-Result: None

X-AUTH-Result: NONE

X-Message-Delivery: Vj0xLjE7dXM9MDtsPTA7YT0wO0Q9MjtTQ0w9NA==

X-Message-Info: 6sSXyD95QpWYohrS6oAlr1CXKM4buCM3A2n9BgJ5nne41J/46iDIhW+8AEPAeRTAIjUbK9jYqLDIOI75qTvahZhN61h3/l5KqHOG7mKBPXMvC1I+yebV71odaIcF5BtI

Received: from p3plsmtps2ded01-01.prod.phx3.secureserver.net ([208.109.80.58]) by snt0-mc4-f18.Snt0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675);

Tue, 4 Oct 2011 06:11:57 -0700

Received: (qmail 25843 invoked from network); 4 Oct 2011 13:11:57 -0000

Received: from unknown (HELO ip-184-168-76-182.ip.secureserver.net) (184.168.76.182)

  by p3plsmtps2ded01-01.prod.phx3.secureserver.net (208.109.80.58) with ESMTP; 04 Oct 2011 13:11:57 -0000

Received: (qmail 25309 invoked by uid 48); 4 Oct 2011 09:11:57 -0400

Date: 4 Oct 2011 09:11:57 -0400

Message-ID: <20111004131157.25307.qmail@ip-184-168-76-182.ip.secureserver.net>

To: power_of_science@hotmail.com

Subject: Account Activation

X-PHP-Originating-Script: 0:email.utility.php

MIME-Version: 1.0

 

From: Support <help@mysite.com>

Subject: Account Activation

 

Content-Type: multipart/alternative;boundary=np4e8b061d79bd6

Return-Path: anonymous@ip-184-168-76-182.ip.secureserver.net

X-OriginalArrivalTime: 04 Oct 2011 13:11:57.0985 (UTC) FILETIME=[3224D910:01CC8297]

 

This is a MIME encoded message.

 

 

 

--np4e8b061d79bd6

 

Content-type: text/html;charset=utf-8

 

 

 

Dear ma,<br /><br />

 

Please click on this link to activate your mysite.com account:

<a href="http://www.mysite.com/activation/?code=daa1d30e6ba7db6ae0f485f508ac450e321516c2fde14751240ac730192b6b445ce827">http://www.mysite.com/activation/?code=daa1d30e6ba7db6ae0f485f508ac450e321516c2fde14751240ac730192b6b445ce827</a><br /><br />

 

Thank you,<br /><br /><br /><br /><br />mysite.com!

 

 

 

--np4e8b061d79bd6--

 

:

 

 

Link to comment
Share on other sites

This is happening to our php scripted emails more and more often.  If anyone knows something that can be done about this it would be helpful.  One thing that might cause some of your emails to be "blocked" is the link within the email?  Maybe some filters can be set to detect links and automatically block them.  I know this isn't much help but I just wanted to chime in.

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.