« Return to Thread: Zend_Mail & Zend_Mail_Transport_Smtp Problems

Zend_Mail & Zend_Mail_Transport_Smtp Problems

by Tim Weyand :: Rate this Message:

Reply to Author | View in Thread

Hi,
since ZendFramework is almost "stable", i thought it would be a great idea to use it for a current Project. The main purpose of the application is to send a lot of mails.
 
I have currently some problems and maybe someone can help me out.
 
[Zend_Mail_Transport_Smtp]
I am missing the "connect()" and "disconnect()" function, which is described in the current manual. These funktions could solve some problems of mine.
 
[Zend_Mail]

first problem :

If i send an email to a emailadress of our company the email body gets broken appart. For example freenet-ag.de breaks the message, freenet.ag or freenet.de does not break the message appart.
 
Code Example:
$Mail =  new Zend_Mail;
$transport = new Zend_Mail_Transport_Smtp(mailserver);
Zend_Mail::setDefaultTransport($transport);  
 
$Mail->setFrom('some.mailadress@freenet.ag','Tim Weyand'); $Mail->addTo('another.mailadress@freenet-ag.de','Tim Weyand');
$Mail->setSubject('Test Mail');
$Mail->setBodyText('This is a test. The Email Adress will break this Message a part! It will only occure on longer Mails. HTML Mails are unviewable.');
$Mail->send();

second problem :

International domains seem to not work. I get a exception "501 5.5.4 Invalid Adress", if i add a valid international email domain to the receipient list. The tested domain was "tüsten.de".
 
Feature "Wish" :
Could  "delTo", "delCc", "delBcc", "delSubject", "delFrom" methods be added to Zend_Mail?
 
best regards,
Tim Weyand

Freenet AG

P.s. i hope this does not come up twice, in the mailing list.

 « Return to Thread: Zend_Mail & Zend_Mail_Transport_Smtp Problems