All my automated sales emails (like order confirmation, shipment...etc ) are sent from username@myhostingdomain.com,

I want emails to be sent from my Magento domain exemple: sales@mydomain.com

thank You.

  • What's your email setup in magento backend? – BartZalas Sep 21 '18 at 22:43
  • what you mean by email setup explain please ? , in Magento backend all emails are set to @mydomain.com – CDzWebDev Sep 23 '18 at 16:58

You can configure them at :

Store > Settings > Configuration > Sales > Sales Email

  • in Magento backend all emails are set to @mydomain.com but emails are sent from my hosting domain – CDzWebDev Sep 23 '18 at 17:10
  • Please have a check with server settings in that case, sometimes it being reset from there. – Himmat Paliwal Sep 24 '18 at 5:15

It looks like more people have this problem:

Temp solution add this to your php.ini (I checked this now and its works for me)

sendmail_path= "/usr/sbin/sendmail -f yoursale@domain.com -F 'Your SHOP <yoursale@domain.com>' -t

or disable amazon pay.



Magento 2 Order / Shipment Emails From Address Suddenly Apache / apache@localhost

  • Thanks for the comment, I tried this but still not working, – CDzWebDev Oct 1 '18 at 18:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.