Skip to content

Set up an actual SMTP server to send mail #19

Description

@quasimik

Ideally set it up on the upe.seas.ucla.edu server. Use this server to send all testbank mail. Make sure to change relevant lines:

async init() {
const testAccount = await nodemailer.createTestAccount() // from ethereal.email
this.#transporter = nodemailer.createTransport({
host: 'smtp.ethereal.email',
port: 587,
secure: false, // true for 465, false for other ports
auth: {
user: testAccount.user,
pass: testAccount.pass
}
})
}

As per #16 , these constants should be passed in via env vars eventually.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    mvpFeature is critical for release

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions