Description
A simple and safe way to test and debug outgoing emails without having to worry that all your users will get unwanted emails.
Mail Safety provides a dashboard which catches and logs all outgoing mails.
Especially handy for development and staging environments. Can also be useful to enable the dashboard on a production website to debug e-mails in case there is a problem.
Similar modules
This module is similar to some existing mail modules but more focused on being a safety net and more precise debugging and testing.
Project
https://drupal.org/project/mail_safety
Git
git clone --branch 7.x-1.x http://git.drupal.org/sandbox/barthje/1836812.git mail_safety
Reviews of other projects
http://drupal.org/node/1993640#comment-7411844 - Subfolder_Domain
http://drupal.org/node/1993640#comment-7425646 - Subfolder_domain
http://drupal.org/node/1971880#comment-7411974 - Profile2 XMLSitemap
http://drupal.org/node/1997706#comment-7425660 - LAKELET Qrigo
Three more reviews of other projects
https://drupal.org/comment/8227825#comment-8227825 - D7 Varnish All
https://drupal.org/comment/8227837#comment-8227837 - MediaCore Chooser
https://drupal.org/comment/8227849#comment-8227849 - Page2Images Websites Thumbnail
Comments
Comment #1
bennetteson commentedYour branch name should be : 7.x-1.x.
You should set a default branch http://drupal.org/node/1659588
So you should use drupal_alter().
Comment #2
barthje commentedThank you for your reply!
I made the necessary changes following your advise.
Comment #2.0
barthje commentedEdited git link
Comment #3
barthje commentedComment #4
PA robot commentedWe are currently quite busy with all the project applications and we prefer projects with a review bonus. Please help reviewing and put yourself on the high priority list, then we will take a look at your project right away :-)
Also, you should get your friends, colleagues or other community members involved to review this application. Let them go through the review checklist and post a comment that sets this issue to "needs work" (they found some problems with the project) or "reviewed & tested by the community" (they found no major flaws).
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #5
michielnugter commentedI have used the sandbox version in a project that heavily relied on sending emails. It's a very useful module that does everything that you need when debugging or just generally watching which emails are sent.
I have done a code review and other than the already fixed problems I can't find anything, as far as I'm concerned, it's reviewed and tested by the community and can be published as a full project.
Comment #6
bennetteson commentedAgree with michielnugter.
look RTBC for me.
Comment #6.0
bennetteson commentedMade changes to the branch.
Comment #7
barthje commentedAdded PAReview: review bonus
Comment #8
klausimanual review:
Removing review bonus tag, you can add it again if you have done another 3 reviews of other projects.
Comment #9
PA robot commentedClosing due to lack of activity. Feel free to reopen if you are still working on this application.
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #10
barthje commentedStill working on it! The summer kept me away from the project :)
Thanks klausie for the review! I'll fix your points and hope that will help.
Comment #10.0
barthje commentedAdded review of other projects
Comment #11
barthje commentedHello klausi,
I've fixed all your issues/suggestions. I'm still not too sure about point number 3 though, but I'll use check_markup for now until I find something better.
Thanks!
Comment #12
PA robot commentedThere are some errors reported by automated review tools, did you already check them? See http://pareview.sh/pareview/httpgitdrupalorgsandboxbarthje1836812git
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #13
barthje commentedsigh... fixed that one.
Comment #14
kscheirerI couple more similar modules - https://drupal.org/project/null_mailer and http://drupal.org/project/maillog.
foreach ($mails as $key => $mail) { foreach ($modules as $module) {...}}. It's unlikely to be a real problem unless there's tons of mails and more than 1 module implementing the hook, just something to be aware of.Those are not blocking issues though, the module looks nice!
----
Top Shelf Modules - Crafted, Curated, Contributed.
Comment #15
barthje commentedThanks for the review!
I'll see if I can improve my code based on your points.
Comment #16
barthje commentedAdded PAReview: review bonus
Comment #17
klausimanual review:
So not sanitizing the subject is a blocker right now, but otherwise this looks almost ready.
Comment #18
barthje commentedThank you for the review once again klausie! I fixed your list.
Also found some other sanitizing problems and checked all my t() functions. Plus I changed the send & delete forms to confirm forms.
Comment #19
klausiLooks good to me now and since this was RTBC already:
Thanks for your contribution, barthje!
I updated your account so you can promote this to a full project and also create new projects as either a sandbox or a "full" project.
Here are some recommended readings to help with excellent maintainership:
You can find lots more contributors chatting on IRC in #drupal-contribute. So, come hang out and stay involved!
Thanks, also, for your patience with the review process. Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.
Thanks to the dedicated reviewer(s) as well.
Comment #20
barthje commentedComment #21
barthje commentedThanks for all the help! Learned a lot from the reviews :)