For using MailSlurper with Docker.
MailSlurper is a handy SMTP mail server useful for local and team application development.
You can use this image to send mail to a SMTP host
and MailSlurper provides the SMTP server and web frontend.
For more information on MailSlurper please see MailSlurper website and Wiki.
- copy
mpconfig/custom-config-SAMPLE.json
tompconfig/custom-config.json
- edit the file if needed
- copy
docker-compose-<ARCH>-SAMPLE.yaml
todocker-compose.yaml
- edit the file if needed
- run
$ ./dc-m-ms.sh up
To stop the container run $ ./dc-m-ms.sh down
- SMTP port: 2500 (by default)
- SMTP Authentification required?: no
- SMTP via SSL or TLS?: no
Navigate to http://localhost:9009
in your webbrowser.
Note: if you modified the port that is mapped to port 8080 inside the container
you'll need replace "9009" in above URL with that port number.
The Docker Image mail-mailslurper-<ARCH> will automaticly be downloaded from the Docker Hub.
The source for the image can be found here https://github.com/tsitle/dockerimage-mail-mailslurper.
Server Settings
Source: https://github.com/mailslurper/mailslurper/wiki/Server-Configuration
Using a SQL-Server
Source: https://github.com/mailslurper/mailslurper/wiki/Using-A-SQL-Server