CPSSD / feedlark

Simple and Sharp RSS Reader
http://feedlark.com
MIT License
5 stars 4 forks source link

Break Email system into a middleware #260

Closed m1cr0man closed 8 years ago

m1cr0man commented 8 years ago

Currently, the signup emails are sort of hard coded into the signup controller. This needs to be separated so that we can add more email-based features such as password resets and email summaries.

m1cr0man commented 8 years ago

This incidentally happened when we switched from nodemailer to express-mailer. In the past, all the configuration was done in users.js but now that's not the case, and all you need to do is call res.mailer.send(template, options, callback) to send emails.

This issue is closed.