Closed hamrak closed 10 years ago
Thanks for reporting, I'll add a sender property to the Module.
Oh wait, you can set the Mailer.messageConfig property in the app.
I'm going to put it in the readme.
Can you put there a example for yii2? I'm using yii\swiftmailer\Mailer and it looks like there's no possibility of the sender set in Mailer configuration
I updated the README file, check it out if it resolves the issue.
Swift_TransportException - Cannot send message without a sender address in .../vendor/nineinchnick/yii2-usr/controllers/UsrController.php – yii\mail\BaseMessage::send()
I have fixed it for my use as follows: