Closed jeremyng123 closed 1 year ago
The value for MAIL_FROM
comes from the actual e-mail client that connects to this container. In your case, it's the "another docker image" that needs to be configured.
Basically, the e-mail address that that image is using for sending out emails needs to be one accepted by AWS.
What did i do?
I have added the SES_USER and SES_PASSWORD environment variables to the docker image.
When it receives an email request, i can see that it authenticates successfully.
What did I expect to happen?
I expect that the request made to the SMTP container to be sent to the SES service successfully, and then the receipient (my test email address) should receive the email
What problems did I face?
However, when applying the details from the request, it leaves the "MAIL FROM" empty. This is an example of the log that I received:
What am i expecting to be fixed?
Are there any environment variables required to populate the "MAIL_FROM"? I am using another docker image that relies on this SMTP server for sending emails. I dont expect to have different emails to send on behalf of the server (use case is to notify the users in the organization).
Please assist, thank you!