-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Create methods sendSingleEmail(), sendMassEmail(), sendSingleText(), and sendMassText().
A complimentary EmailController (accessible only to admins) may also be in order. Furthermore, this controller will have complimentary Email Views send_single_email, send_mass_email, etc.
These Views will provide forms for writing emails on default, and when an HTTP POST request is sent, they will instead display a confirmation page with a preview of who will receive the email.
Also, there may be an issue which causes emails to be sent out twice. It may be due to reset connections because of the blocking nature of accessing Gmail's SMTP API 100 times in a row. Ensure that the confirmation page does not allow this to occur... somehow. Test locally with a set of 2 or more fake email addresses.