Ladies & gentlemen,
I'm stuck with some configuration issue (at least I guess it is one...).
I sent mails with the sfDoctrineApplyPlugin when a user registers, the
plugin uses ZendMail by default and things work as expected.
In another module, I sue the default mailer for the application, hence
Swift_Mailer :
$mailer = $this->getMailer();
$msg = $mailer->compose(
array(sfConfig::get('app_mailer_email_from') =>
sfConfig::get('app_mailer_email_fullname')),
$this->commande->getUser()->getEmail(),
sfConfig::get('app_mailer_sujet_devis'));
$msg->setBody($this->renderMail($this->commande), 'text/html');
$failures = array();
$result = $mailer->send($msg, $failures);
$result is always set to 0 after this line and I don't understand why
Swift_Mailer thinks that the email address of the recipient is invalid
(yes, the address #is# valid !).
I traced the code in Swift_Transport_AbstractSmtpTransport and I can see
that the _doMailTransaction() method fails at this line :
$this->_doRcptToCommand($forwardPath);
and throws an exception.
Any idea will be welcome :o)
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en