namshi / docker-smtp

SMTP docker container
MIT License
549 stars 199 forks source link

How do I send mails with this? #17

Closed miguelglopes closed 7 years ago

miguelglopes commented 7 years ago

I have the image running with gmail user and gmail password set. How do I send mails now?

oba11 commented 7 years ago

U can easily test by using default linux mail command (assuming the container is running on 127.0.0.1:25).

oba11 commented 7 years ago

You can send automated email with this python script (https://gist.github.com/oba11/3446f6f519b7e09c9d4e45728f73799e) as well. Hope this helps.