This problem appears with the sending of mail through the function Of mail () on Windows the version of php5.2 if we send through smtp server sending passes successfully this not error ZF! Mail simply adds excess, “< >” as if expects to obtain into from of email address only.
Roman1975 wrote: > > Warning: mail() [function.mail]: SMTP server response: 501 Mailbox syntax > incorrect - <"name" <[EMAIL PROTECTED]>> in > C:\home\t\texrdcom\project1\library\Zend\Mail\Transport\Sendmail.php on > line 90 > > Fatal error: Uncaught exception 'Zend_Mail_Transport_Exception' with > message 'Unable to send mail' in > C:\home\t\texrdcom\project1\library\Zend\Mail\Transport\Sendmail.php:92 > Stack trace: #0 > C:\home\t\texrdcom\project1\library\Zend\Mail\Transport\Abstract.php(333): > Zend_Mail_Transport_Sendmail->_sendMail() #1 > C:\home\t\texrdcom\project1\library\Zend\Mail.php(642): > Zend_Mail_Transport_Abstract->send(Object(Zend_Mail)) #2 > C:\home\t\texrdcom\project1\application\index\models\Regist.php(93): > Zend_Mail->send() #3 > > PHP: > > $mail = new Zend_Mail($config->mail->charset); > $mail->setFrom($config->mail->fromEmail, 'name'); > $mail->setBodyText($body); > $mail->setSubject($subject); > $mail->addTo($emailTo); > $mail->send(); > > > > -- View this message in context: http://www.nabble.com/Zend_Mail-error-ZF-v0.9.2-tf3580636s16154.html#a10014197 Sent from the Zend Framework mailing list archive at Nabble.com.
