Page 1 of 1

Hotmail Problems / SPF record and Google Apps

Posted: Tue Jul 10, 2007 6:59 am
by dirkr
i'm currently having problems with hotmail blocking every mail with a url in it
( and i really need to send mails with url's in them )

i had my provider add my SPF record but no change at all.

now i was thinking that maybe if i move to GoogleApps and use their smtp that it might work?

well on that note i'm wondering if i have to add google's smtp server to my spf record or not?

anybody who knows how i can get my mails with links to hotmail accounts ( other html links work fine ) or knows about the spf record.. would be appreciated

Posted: Tue Jul 10, 2007 7:22 am
by Chris Corbyn
Have you tried using a different URL such as http://www.google.com/?q=coffee ? Perhaps the spam filter doesn't like the particular URLs you're sending. Do they all reference the same website?

Posted: Tue Jul 10, 2007 8:22 am
by dirkr
it is every url i put...
if i put the url in plaintext it works ..but if i add it as a clickable html tag <a href =""></a> then it gets blocked

Posted: Tue Jul 10, 2007 9:16 am
by Chris Corbyn
Can you post the code please? More than likely the amount of text in comparison to the amount of HTML is too high.

Posted: Tue Jul 10, 2007 9:21 am
by dirkr
uhm here is the mail that is supposed to get sent out :

Code: Select all

$smtp =& new Swift_Connection_SMTP("hosturlhere");
$smtp ->setUsername('loginhere');
$smtp ->setpassword('pwhere');

$swift =& new Swift($smtp);

$message->attach(new Swift_Message_Part('Your MOHRCO.NET Coupons \n\n Please go to the url below and print out your promotions to keep on site as reference for MOHRCO.NET Consumer Members.\n\n http://mohrco.net/shCompanyPrintCoupons ... d='.$mid.' \n\n Kind Regards, \n\n\n Mohrco.net'));
$message->attach(new Swift_Message_Part("<h2>Your MOHRCO.NET Coupons</h2><br><br>
                                                <p>Here is a list of the coupons your company is currently offering. Please click the link below and print out your promotions to keep on site as reference for MOHRCO.NET Consumer  
                                                 Members.</p><br>
						<p><a href=http://mohrco.net/shCompanyPrintCoupons.php?mid=".$mid.">View and print coupon.</a><p>
						<p>If you don't see that link or you can't click it copy this link to your browser:</p>
						<p>http://mohrco.net/shCompanyPrintCoupons.php?mid=".$mid."</p>
						<br><br>
						<p>Kind regards,<p>
						<br>
						<p>Mohrco.net </p>","text/html"));

		
		if($swift->send($message, new Swift_Address('ronsmansdirk@hotmail.com'), new Swift_Address('noreply@mohrco.net','MOHRCO.NET')))
		{
			echo('Sent SuccesFull'); 
		}
		else
		{
			echo('Sent Failed');
		}

i've also just tried it with just mailing some text and a url link..
example : testmail <a href=google.com>google.com</a>
but this fails too

and the weird part is .. it used to work.. i was able to send out my mails ( like these ) but from one day to another hotmail stopped receiving them

edit : oh by the way.. its not just with links ( i think ) the smoke embedded image test fails too .. however the multipart mail works ( the one with the <strong> tags )
so thats why i'm so clueless as to what it is