-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sending mail #204
Comments
Did you configure the SMTP option of php.ini to point to your postfix container (using the |
Oh, overlooked that option in the docs. Will try it out!
|
Hm, doesn't work for me. What about adding something like DMA to the image & then allowing to set the SMTP details through environment variables? Edit: DMA doesn't even need to be configured to send email - the simplest way to set up sending email with it would be the following in a custom Dockerfile:
That being said, I'd really like this to support fully configuring DMA through environment variables, e.g.
|
I've installed DMA & added documentation, but parsing the environment variables & generating the configuration is still to be done - I'll probably get that done in the next couple of days. |
I try to make any enhancements in this repo (and first i have to clean PR). I'm sorry because you worked a lot on this PR but i'm not sure this docker image have to act like SMTP server. There is lot of docker image who do that. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please update it if any action still required. |
This issue has been automatically closed because it has not had recent activity. Please, reopen if you need. |
DMA doesn't really act like a full SMTP server - without anything, it just acts like the |
Expected Behavior
Email is being sent.
Current Behavior
Email isn't being sent.
Context
When i use the mail() function the email isn't being sent. I have a postfix container running and want to use that to send email. How can i do this with this image?
Your Environment
webserver container with image php:7.4-v3-apache
postfix container
The text was updated successfully, but these errors were encountered: