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
319 stars 147 forks source link

Order related emails not sending but others working fine #113

Closed Sharpy310 closed 6 years ago

Sharpy310 commented 6 years ago

Magento version #:

Magento 2.2.4

Edition (EE, CE, OS, etc):

CE, running through Ubuntu 17.10 Artful Aardvark

Expected behavior:

Placing order through frontend, backend, shipping order, invoicing order Expect related email to be sent to customer

Actual behavior:

No email received

Steps to reproduce:

Place order through website.

Preconditions

We're using our own SMTP server which is sucessfully set up, tested (2x test emails) and works fine for all other emails e.g. if a customer changes password, they are emailed, if they subscribe to newsletter, they're emailed. But any order relating to transactional email (order, comments, shipment, invoice etc) are not sent. In an attempt to debug this issue, I added a BCC on the emails on new orders to an internal email address, which came through fine, however the "From" field is completely empty however I have set the "Set Reply-To", "Set From" and "Set Return-Path" to Yes.

Disabling the module and trying again doesn't work as we don't have Sendmail configured and use SMTP solely for emails.

All of the Store Email Addresses are configured correctly; General Contact, Sales Rep, Customer Support etc. are all set to the same email address and is the same email address as has been set up in the SMTP config.

We are running Multisite but this is being tested through the default store. Store is also in production mode.

srenon commented 6 years ago

I'm not able to reproduce this on a fresh 2.2.4 install.

image

You are more than welcome to puchase paid support at https://www.magepal.com/magento2/support.html and we will be more than happy to fix it for you.

Full refund if we are not able to fix it

Sharpy310 commented 6 years ago

Issue resolved

This patch appears to fix issue: https://github.com/sashas777/bug-from-email

Thanks anyway for your help.