magepal / magento2-gmail-smtp-app

Configure Magento 2 to send email using Google App, Gmail, Amazon Simple Email Service (SES), Microsoft Office365 and many other SMTP (Simple Mail Transfer Protocol) servers
https://www.magepal.com
321 stars 147 forks source link

Invalid argument supplied foreach #141

Closed datwiki closed 5 years ago

datwiki commented 5 years ago

Magento version #: 2.2.8

Edition (EE, CE, OS, etc): CE

Expected behavior: Test mail is sent normally

Actual behavior: exception Invalid argument supplied for each

Steps to reproduce:

  1. Install latest version MagePal SMTP to Magento CE 2.2.8
  2. Setup account Gmail as normal
  3. Choose Specified Value for Set Return Path option
  4. Provide any email as value
  5. Hit Send Test Mail 56718929-f28c0380-6769-11e9-8e88-b9c9c405bfd6
srenon commented 5 years ago

@datwiki ... I will release a new version to fix this shortly.

Do you have any Mirasvit extension installed?

datwiki commented 5 years ago

hi @srenon , sorry for my late response. Yes, in all our projects we use quite many Mirasvit extensions, is it a problem?

Thank you for your support

srenon commented 5 years ago

Yea, their extension rewrite some core Magento email logic for no reason to best of my knowledge.

I will add a fix in our next release which will be in few days to weeks time

datwiki commented 5 years ago

hi @srenon , oh, good to know that! Thanks for sharing.

And thanks again for your support! Dat

basvanpoppel commented 5 years ago

Hi @srenon

We ran into this issue as well. I just saw your PR from five days ago with the fix.

Do you have an estimation on when a new release is available containing the fix?

Thank you!

saulable commented 5 years ago

Yep, having same problem! :)

srenon commented 5 years ago

@saulable ... Do you have any Mirasvit extension installed?

saulable commented 5 years ago

@saulable ... Do you have any Mirasvit extension installed?

Nope. Decided to go down the ssmtp config route.