Bogardo / Mailgun-Magento2

Send Magento's transactional e-mails with the Mailgun API service.
MIT License
13 stars 34 forks source link

Messages don't send unless I modify the Mail/Transport.php file #10

Open LeonHunterUk opened 6 years ago

LeonHunterUk commented 6 years ago

Upon requiring bogardo/mailgun-magento2 with composer, I have to edit the Mail/Transport.php file included with the plugin and change line 97 from:

foreach ($message['to'] as $to) {

to:

foreach ($this->message->getRecipients() as $to) {

makhnovskiy commented 6 years ago

Had to do the same. Requested the file change in repo. Thanks for the code fix.

barryvdh commented 6 years ago

I'm having the same issue, PR fixed it.