Welcome, Guest. Register Now!
   
Mark Forums Read Mark Forums Read Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-22-2008, 08:34 AM
Junior Member
 
Join Date: Apr 2008
Posts: 18
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-22-2008, 09:02 AM
Junior Member
 
Join Date: Apr 2008
Location: Canada
Posts: 8
Default

Try setBodyHtml rather than setBodyText. I don't know if that will make a difference to it being blocked or not.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-22-2008, 03:12 PM
Ewok's Avatar
Junior Member
 
Join Date: Mar 2008
Location: Colorado SPrings
Posts: 16
Send a message via MSN to Ewok Send a message via Yahoo to Ewok
Default

There may be some reverse lookup going on with some servers. We have that problem with the amount of email we send to customers/clients/registrants.
__________________
Give all victory and gain to others
Take all defeat and loss upon yourself
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 10:52 AM.