среда, 31 октября 2018 г.

[swiftmailer] Cannot send message without a sender address error fix

Do not forget to use (new \Swift_Message())->setFrom([$senderAddress => $senderName]) when preparity an email. Interesting that it doesn't throw an exception in Symfony DEV environment, but do that in PROD.

Комментариев нет:

Отправить комментарий