cancel
Showing results for 
Search instead for 
Did you mean: 

Email Configuration for Magento 2 in Docker Container

Email Configuration for Magento 2 in Docker Container

I have no email sent when I create a new user account.

I guess my email configuration is not setup properly.

I am running my Magento 2 in Docker container.

Anyone can guide me to solve this problem?

 

Thank you!

2 REPLIES 2

Re: Email Configuration for Magento 2 in Docker Container

Found the problem.

Make sure you have this in your php.ini file.

 

sendmail_path = /usr/sbin/sendmail -t -i

 

I am using exim4 so make sure you run the exim4 configuration to setup the type of email config you have.

Re: Email Configuration for Magento 2 in Docker Container

Hi,

If it is possible, could you share your docker build file?

I am having problem with the email with the following docker set up.

https://github.com/mageinferno/magento2-docker-compose

 

Thanks

Danny