Bogardo / Mailgun-Magento2

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

Missing "To" when there is one #15

Open jonshipman opened 6 years ago

jonshipman commented 6 years ago

Add this to line 82 in Bogardo\Mailgun\Mail\MessageParser. I'll do a pull request if I have time.

if ($type=="To" && empty($result) && !empty($all)) { return $all; }

jonshipman commented 6 years ago

Line in system.log

report.CRITICAL: Exception message: The parameters passed to the API were invalid. Check your inputs! 'to' parameter is missing

jonshipman commented 6 years ago

Using Magento 2.2.4 EE