Installer MailCatcher :
$ gem install mailcatcher
$mailcatcher
Go to http://localhost:1080/
Send mail through smtp://localhost:1025
$ mailcatcher --help
Run mailcatcher, set your favourite app to deliver to smtp://127.0.0.1:1025 instead of your default SMTP server, then check out http://127.0.0.1:1080 to see the mail that’s arrived so far.
Laisser un commentaire