Local email (SMTP) server in 1 minute using Docker

preview_player
Показать описание
Using Docker & MailSlurper, I'll show you how to run a local Email (SMTP) server using just 1 command.

You can even treat this video as a working example of how powerful Docker is. As a software developer, Docker is one of the most important tools you can have.

the prerequisite mentioned in the video is of course is Docker, install that first:

And the Docker command to run the server:
$ docker run -it -p 2500:2500 -p 8080:8080 -p 8085:8085 --rm marcopas/docker-mailslurper

Testing the email server once it's running:

Find the commands here:
Рекомендации по теме
Комментарии
Автор

thank you, i need this in order to test my notification system(dispatch).

ibrahimaba
Автор

I assume if you then whitelist the external IP of the computer with docker on a recipient's mail filter to avoid spam/phishing detection you can use this to email externally for phishing simulations without being immediately blocked for lack of DMARC, SPF etc?

Pikachu
Автор

Your python script is missing this import:
from email import email

and relpaec "Encoders" with "email" line 94

also line 126 has to be replaced with * 1000))"

I'm running python 3.11

skyhappy
Автор

GX40 Official sender is the best sender

blakebrady
Автор

How would you tie this to a php alpine docker instance using wordpress?

philiprudy
Автор

many thanks . I try with a php senmail but i dont recive the emails

adocarpel
Автор

How to deploy a SMTP in Docker for production?

latlov
Автор

thanks it work like charm thanks bro very very very match ... 1000 like -> subscribe

MegaOsama