View Single Post
  #1 (permalink)  
Old 04-22-2008, 08:34 AM
Filip Filip is offline
Junior Member
 
Join Date: Apr 2008
Posts: 28
Unhappy mail auto-blocked?

Hi,

Is it possible mails are being blocked by providors because of a header that might not be completely correct?

My code is the following

Code:
			$mail = new Zend_Mail();
			$mail->setBodyText($this->getBody($naam, $voornaam));
			$mail->setFrom($this->admin);
			$mail->addTo("filip_vh@hotmail.com");
			$mail->setSubject("Thanks for registering on the website");
			$mail->send();
$mail->setBodyText($this->getBody($naam, $voornaam));

has the following code

Code:
$body ='<body><p>Hello '. $voornaam . ' '. $naam. '</p> .
                      <p>Your email still has to be validated. To do this, please  
                            click the link below.</p>
 			<p>-----------LINK---------</p>
                        <p> Thank you</p>
return $body;

The mails are being blocked on my School email and my home email provider (Belgium). However, gmail and hotmail let them pass (they end up in junk but at least they arrive). So is there a way for me to make sure they don't end up being blocked in the spam filter of my home ISP? I can receive other registration emails from forums, etc..., so it has to be possible to make sure these emails get through as well?
Reply With Quote