mailhog / MailHog

Web and API based SMTP testing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MailHog doesn't send the emails

joseraeiro opened this issue · comments

Hi!

I've tried to use MailHog as an SMTP server to be able to send emails. I followed the installation instructions and the HTTP server does show the emails sent but no email is received on the accounts it said it was sent to. Please look at the following screenshot https://ibb.co/TPgtMZq

What am I doing wrong?

If you open github issues, please upload screenshots directly, not in a strange viewer.

MailHog does not send mails, it receives them and displays them as HTML for testing your SMTP code without the need for a real e-mail server. If you want to send mails (which it seems you are already doing, since MailHog is receiving them) send them either directly to the correct server (indicated by the domains MX entry) or use a relay server (e.g. postfix, https://github.com/docker-mailserver/docker-mailserver)

Thank you very much for the clarification!