TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Mailpit – An email and SMTP testing tool with API

119 pointsby qa-guyalmost 2 years ago

10 comments

mustardoalmost 2 years ago
A couple others<p>Mail Catcher <a href="https:&#x2F;&#x2F;mailcatcher.me&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;mailcatcher.me&#x2F;</a><p>Lunatic SMTP <a href="https:&#x2F;&#x2F;github.com&#x2F;anlar&#x2F;lunaticsmtp">https:&#x2F;&#x2F;github.com&#x2F;anlar&#x2F;lunaticsmtp</a><p>Green Mail <a href="https:&#x2F;&#x2F;greenmail-mail-test.github.io&#x2F;greenmail&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;greenmail-mail-test.github.io&#x2F;greenmail&#x2F;</a>
评论 #36456422 未加载
评论 #36455941 未加载
评论 #36455733 未加载
评论 #36456721 未加载
minimaulalmost 2 years ago
Really recommend this, it&#x27;s very useful to us at work for capturing email from local dev environments for email testing - we run it as part of our dockerised dev setup. Means we don&#x27;t have to worry about ever accidentally hitting real mail systems, while still letting us actually exercise our email sending code.<p>Also makes it very easy to see rendered HTML, HTML source, the text&#x2F;plain part of a mailer, etc.<p>And as an excellent plus, the author is responsive to reasonable PRs!
moltaralmost 2 years ago
I’ve been using Ethereal [1] for ages. It works great and has an API. Also totally free.<p>Downside:<p>- it’s hosted, which may not be for everyone if your test emails contain sensitive information. Altho I think it never should.<p>- it sometimes is down<p>- it requires an internet connection<p>[1] <a href="https:&#x2F;&#x2F;ethereal.email&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;ethereal.email&#x2F;</a>
LinuxBenderalmost 2 years ago
This looks very useful. In the past I&#x27;ve used smtp-sink which is part of Postfix-(stone) and logs to syslog but having a web interface that shows attachments is a big improvement over the smtp-sink method. I could see also using this to replace my SMTP tarpits <i>which are just Postfix logging to single text files per node</i>. I could envision a few other unorthodox uses for this as well.<p>With an <i>optional installation step</i> this could run on port 25 as a regular person. Or authbind [1]<p><pre><code> setcap cap_net_bind_service=+ep &#x2F;path&#x2F;to&#x2F;mailpit </code></pre> [1] - <a href="https:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;413807&#x2F;is-there-a-way-for-non-root-processes-to-bind-to-privileged-ports-on-linux" rel="nofollow noreferrer">https:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;413807&#x2F;is-there-a-way-fo...</a>
npteljesalmost 2 years ago
I have used FakeSMTP a long time ago, and it seems like it&#x27;s still around. This one comes as a single jar.<p><a href="http:&#x2F;&#x2F;nilhcem.com&#x2F;FakeSMTP&#x2F;" rel="nofollow noreferrer">http:&#x2F;&#x2F;nilhcem.com&#x2F;FakeSMTP&#x2F;</a>
jslakroalmost 2 years ago
I find mailtrap.io really handful, how anybody would prefer this option? genuine question
评论 #36454349 未加载
评论 #36454423 未加载
评论 #36455168 未加载
cebertalmost 2 years ago
At work we use AWS’s Simple Email Service to dump all emails to S3 buckets that expire after a few days. It’s nice if you need to very that emails are working correctly in end-to-end tests.
评论 #36458432 未加载
2Gkashmirialmost 2 years ago
is there some foss email inbound software that can take email &quot;in&quot; using wildcards or restricted email ids and dumps the same into a DB?<p>i have to apply regex to the email body and other stuff and keep only the relevant bit .<p>i see the managed softwares but i want something on my own vps.
lfconsultalmost 2 years ago
I use it on daily basis. Wonderful tool. Supports attachements. A must have.
pydryalmost 2 years ago
Would be nice if this thing also handled common non-SMTP APIs (e.g. SES).
评论 #36456823 未加载