MailCatcher
Our great sponsors
MailCatcher | ||
---|---|---|
15 | 6 | |
6,173 | 3,584 | |
- | - | |
6.1 | 4.9 | |
3 months ago | 8 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.
-
The Ruby “mail” gem is broken since December 3, 2022
"2.8.0.1. Fixes file permissions in 2.8.0 release. No code changes."
-
String conversion
I would look to existing libraries to see how they solve the problem. Stack Overflow is OK, but I find that the "one liner" solutions you find there often oversimplify. There is a popular, and currently maintained, Rubygem library called Mail that includes a class for quoted printable, which in turn provides a class method for decoding quoted printable strings.
-
Anonymous leaks database of the Russian Ministry of Defence
This is easiest if you have a MacBook since Ruby is installed by default. You can make a small script using this Ruby gem (plugin) - https://github.com/mikel/mail
-
Ruby's Email Address Regexp
There are basically three levels of address checking:
1) You need to validate an email field for login or a website - checking for an @ mark with some text before and at least one . after the @ will do for this.
2) You need to do some sort of address validation, library regexps like this will do for 99.9...% of these.
3) You are building an email handling system which needs to actually support the RFCs, in which case regexp will not handle what you need, and you need to use a proper parser, like https://github.com/mikel/mail/tree/master/lib/mail/parsers
Ref: I am the original author of the Ruby mail gem.
-
Need Help With Using If Condition.
Email addresses have a lot of gotchas that can make rolling your own logic hard. I haven't used Ruby in a while but there are gems like Mail that can help validating email addresses easier.
What are some alternatives?
MailHog - Web and API based SMTP testing
LetterOpener - Preview mail in the browser instead of sending.
Ahoy Email - First-party email analytics for Rails
Mailman
Roadie - Making HTML emails comfortable for the Ruby rockstars
Griddler - Simplify receiving email in Rails
premailer-rails - CSS styled emails without the hassle.
Maktoub - A simple newsletter engine for Rails
Postal - 📮 A fully featured open source mail delivery platform for incoming & outgoing e-mail
Sup - A curses threads-with-tags style email client (mailing list: [email protected])