Hi, Been running the new sfMailer code, looks excellent and yesterday was pleased to see the mail icon appearing in the web debug toolbar. Very useful! However, after an update this morning the icon no longer appears. A call to sfContext::getInstance()->getMailer()->compose(...) still works ok - the mail is sent.
Looking into the mailer debug panel, it looks like inititialize() is never called. Also, hasMailer() always returned false for me. Changing the function to: public function __construct(sfWebDebug $webDebug) { parent::__construct($webDebug); //$this->mailer = sfContext::getInstance()->hasMailer() ? sfContext::getInstance()->getMailer() : null; $this->mailer = sfContext::getInstance()->getMailer(); } resolves the issue for me, but I see in the commit logs there was concern over errors with apps using swiftmail 3 and hasMailer() was introduced. I appreciate this is alpha code and things are changing, but any ideas? Thanks, Andy. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to symfony-devs@googlegroups.com To unsubscribe from this group, send email to symfony-devs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en -~----------~----~----~----~------~----~------~--~---