MailCatcher
LetterOpener
Our great sponsors
MailCatcher | LetterOpener | |
---|---|---|
15 | 3 | |
6,181 | 3,661 | |
- | - | |
6.1 | 6.1 | |
3 months ago | 24 days ago | |
Ruby | Ruby | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
MailCatcher
-
Preview emails with letter_opener, MailCatcher and MailHog
hey HN, I recently published an article going deep into email previewing (in Ruby on Rails, but I think it's relevant beyond Rails).
MailCatcher (https://github.com/sj26/mailcatcher) and MailHog (https://github.com/mailhog/MailHog) are super handy and easy to run locally. Both spin up an SMTP server which you can direct mail to, and give you a nice web interface to browse mail and preview it.
Happy to answer any question! thanks, harrison
-
Mailpit – a better way for email testing
A couple others
* Mail Catcher https://mailcatcher.me/
-
Mailtutan is an SMTP server s written in Rust for test and development environments.
Useful. Seems very similar to MailCatcher, but not depending on Ruby is always a plus.
-
New Mailcatcher docker image using Alpine 3.16.1
I just upgraded to Alpine Linux 3.16.1 This is an important upgrade as it fixes 2 major issues: - busybox CVE-2022-30065 - openssl CVE-2022-2097 Related information: Mailcatcher as a docker image using Alpine Linux 3.16.1: https://hub.docker.com/r/stpaquet/alpinemailcatcher Github repo: https://github.com/spaquet/docker-alpine-mailcatcher Mailcatcher: https://mailcatcher.me
Mailcatcher: https://mailcatcher.me
-
Are there any lesser-known tools you use a lot in your work?
Mailhog sounds a lot like mailcatcher
-
Help required with setting up Odoo locally!
I would install https://mailcatcher.me and see if that local smtp works.
- Very simple mail server for temporary use?
-
Mailcatcher for beginners
Useful links: Mailcatcher homepage: mailcatcher.me Dockerfile and Docker Compose: https://github.com/spaquet/docker-alpine-mailcatcher Dockerhub: https://hub.docker.com/r/stpaquet/alpinemailcatcher
-
Synology Mail Plus / Mail Station for Test/Dev environment.
I can run MailCatcher or MailHog or Postfix or Sendmail or any number of other solutions, but there's not any other linux sysadmins here so something with an easy gui setup would be convenient so others can poke around if needed.
LetterOpener
-
Unleash Devise-Enabling All Modules
If you input a valid email of the users you created in the system and submit the form. A POST request to http://localhost:3000/users/password will be made. Then a reset password mail as described in the previous section will be sent out. You can find that mail in the terminal running rails server. If you have a gem like letter_opener, you can see that mail shown in your browser.
-
Using Action Mailer to Send Emails from a Rails App
Another great option is to use the letter opener gem. This is a great tool to use in development, because instead of the app actually sending the email, instead it opens a new tab on your browser with the email view. This is really helpful to see what is going on with the email as it happens. If you are using the letter opener gem, you would need to install it:
-
Rails5 - sending and receiving emails
I recommend https://github.com/ryanb/letter_opener for local development.
What are some alternatives?
MailHog - Web and API based SMTP testing
premailer-rails - CSS styled emails without the hassle.
Mailman
Ahoy Email - First-party email analytics for Rails
Mail - A Really Ruby Mail Library
Griddler - Simplify receiving email in Rails
Maily - 📫 Rails Engine to preview emails in the browser
Postal - 📮 A fully featured open source mail delivery platform for incoming & outgoing e-mail
MailForm - Send e-mail straight from forms in Rails with I18n, validations, attachments and request information.