Catches mail and serves it through a dream.

Mail

Ruby

MailCatcher image

Alright folks, let's chat about this nifty little tool called MailCatcher. Ever sent an email during development and wondered where it went? That’s right where MailCatcher steps in. It's like the postal service, but way cooler and much more immediate. MailCatcher’s charm lies in its simplicity and effectiveness. Imagine a super chill SMTP server that catches all your emails and displays them on a browser. That’s what you get with MailCatcher, and setting it up is as easy as pie. A quick gem install and you’re off to the races. You just point your app’s SMTP settings to `127.0.0.1:1025` and boom, your emails land in the MailCatcher web interface at `127.0.0.1:1080`. What really sets MailCatcher apart are its features. This tool catches all your mails and stores them for easy viewing. It’s got HTML, plain text, and source views of your messages, shows embedded images like a pro, and even lets you download attachments separately. Prefer checking your emails in your native mail client? No problem, you can download the original email too. MailCatcher works with WebSockets for instant updates in browsers that support it, and it ticks along as a background daemon or right in the foreground if that’s your style. Did we mention it speaks PHP? The `catchmail` command mimics sendmail, making PHP integration basically effortless. Now, if you’re all about command line wizardry, MailCatcher has plenty of options for you—from setting custom IP and port settings to the number of messages it should keep. Just type `mailcatcher --help` to see the full spread. Oh, and keyboard navigation in the web interface is pretty sweet too. Running into setup roadblocks? Make sure Ruby is in the house. A quick `gem install mailcatcher` usually does the trick, but keep those build tools handy just in case. There’s no need to stuff MailCatcher into your Gemfile though; it’ll play nice alongside your other gems if you stick to a separate install. If Docker’s more your jam, MailCatcher has a ready-to-roll image on Docker Hub. A simple pull and run command, and you’re off exploring emails like an old-school postmaster but with a modern twist. For the API enthusiasts, MailCatcher doesn’t disappoint there either. Its RESTful schema lets you wrangle messages in JSON, HTML, plain text, or grab the entire message source. Got issues or need features? Fork it, fix it, or file an issue. The community thrives on improvements and ideas. MailCatcher isn't just someone's weekend project—it's a well-loved utility built on the hard work of many generous developers. So, toss a few coins if you can via PayPal, and keep the good vibes and features rolling. MailCatcher: It’s your new must-have for developing, testing, and just plain keeping track of those sneaky emails. Give it a spin!

Check out site
Back to all products