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 <[email protected]>\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) [email protected]; dkim=none header.d=mysite.com; x-hmca=none

X-Message-Status: n:0:n

X-SID-PRA: Support <[email protected]>

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: <[email protected]>

To: [email protected]

Subject: Account Activation

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

MIME-Version: 1.0

 

From: Support <[email protected]>

Subject: Account Activation

 

Content-Type: multipart/alternative;boundary=np4e8b061d79bd6

Return-Path: [email protected]

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

 

:

 

 

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.

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.