yarcode / yii2-mailgun-mailer

Mailgun mailer component for Yii2 framework
https://packagist.org/packages/yarcode/yii2-mailgun-mailer
MIT License
15 stars 10 forks source link

Does 'useFileTransport' work correctly? #3

Closed voshkin closed 6 years ago

voshkin commented 7 years ago

I've used the 'useFileTransport' setting, but i receive empty mails permanently. What do you mean about this? (When i turning off the 'useFileTransport', my mailgun account is working fine)

metalagman commented 7 years ago

Mailgun is not called when you set useFileTransport => true. Check the runtime/mail instead.

voshkin commented 7 years ago

it looks like you misunderstand me. When i use 'useFileTransport' i see empty mails in the runtime directory (0 bytes, 0 lines). When i'm turning off the 'useFileTransport', my mailgun account is working fine.

metalagman commented 7 years ago

Now I see... I think we need to implement this method https://github.com/yarcode/yii2-mailgun-mailer/blob/master/src/Message.php#L268

metalagman commented 6 years ago

fixed in 1.1.3