mirror of
https://github.com/matt-fidd/stratos.git
synced 2026-01-01 22:19:26 +00:00
Send a password reset email
This commit is contained in:
@@ -266,12 +266,9 @@ class Emailer {
|
|||||||
if (typeof this.#transporter === 'undefined')
|
if (typeof this.#transporter === 'undefined')
|
||||||
await this.getTransporter();
|
await this.getTransporter();
|
||||||
|
|
||||||
console.log(`Sending`);
|
const message = email.getMessageObject();
|
||||||
console.log(email);
|
|
||||||
console.log(this.#host,
|
this.#transporter.sendMail(message);
|
||||||
this.#user,
|
|
||||||
this.#password,
|
|
||||||
this.#secure);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user