3 ms·
I used Mailhog to test SMTP before. It provides API to get the emails, so I can write automated tests.
by franzwong 8y ago
I used Mailhog to test SMTP before. It provides API to get the emails, so I can write automated tests.
- jfoucher 8y agoNice. I didn't come across MailHog during my research, but it looks pretty good. The API is a nice idea, but doesn't it make your tests a bit brittle ? I usually use the Symfony Profiler to do that, but something similar may not be available on your preferred stack. Anyway I'm sure there are a lot of projects like Mailocal, but we all enjoy reinventing the wheel sometimes, don't we ? :D
- franzwong 8y ago(not sarcasm) I also like reinventing the wheel :P