Skip to content

Improve EmailComponent #10

@jacksonrayhamilton

Description

@jacksonrayhamilton

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions