Permalink
Browse files

Merge branch 'master' of github.com:creationix/howtonode.org

  • Loading branch information...
2 parents 6dd1a6c + cc25d32 commit 04d716fc7f6be957da8d231ff3b56a4da994efc1 Tim Caswell committed Jun 18, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 articles/sending-e-mails-with-node-and-nodemailer.markdown
View
2 articles/sending-e-mails-with-node-and-nodemailer.markdown
@@ -5,6 +5,8 @@ Node: v0.6.0
Sending e-mails with [NodeJS][] is almost a breeze. Almost. First, you have to plug-in the [NodeMailer][] module than set up a transport type, load the templates, add attachments and finally send...
+## The Code
+
The first thing you tend to do is to create a wrapper class to manage all this tasks. So, I wrapped it in an Eamiler class to centralize the mail sending in my app.
# /lib/emailer.coffee

0 comments on commit 04d716f

Please sign in to comment.