Skip to content
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

The docker image has not any SMTP server #6

Open
vampolo opened this issue Oct 2, 2013 · 4 comments
Open

The docker image has not any SMTP server #6

vampolo opened this issue Oct 2, 2013 · 4 comments

Comments

@vampolo
Copy link

vampolo commented Oct 2, 2013

when wordpress tries to use the php mail function the mail is not sent because there is not any SMTP server on the container.

How would you suggest to handle this functionality?

@eugeneware
Copy link
Owner

I would point the SMTP server to your actual SMTP server, or use something like SendGrid (which is how Heroku does this).

And use a plugin like this: http://serversmtp.com/en/smtp-wordpress-configure

To change the SMTP settings.

@jrthib
Copy link

jrthib commented Jan 2, 2014

What about installing postfix which would give this the option to work out of the box? Additionally the user could opt to send their SMTP elsewhere.

@lvnilesh
Copy link

or use mandrill SMTP if you prefer https://wordpress.org/plugins/wpmandrill/

@denzuko
Copy link

denzuko commented Aug 20, 2015

Or use google smtp. The point being a smtp server does not need to be local to the web application server. Especially within a containerized environment where its easier to just do docker run catatnight/postfix to have a full email server up and running without having your web server open to hacks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants