|
@@ -27,12 +27,11 @@ interface LogMessage {
|
|
}
|
|
}
|
|
|
|
|
|
class EmailTransport extends TransportStream {
|
|
class EmailTransport extends TransportStream {
|
|
-
|
|
|
|
-
|
|
|
|
private mailer: Mail;
|
|
private mailer: Mail;
|
|
|
|
|
|
constructor(opts?: TransportStream.TransportStreamOptions) {
|
|
constructor(opts?: TransportStream.TransportStreamOptions) {
|
|
super(opts);
|
|
super(opts);
|
|
|
|
+ console.log(`Username: ${process.env.GMAIL_NAME}`);
|
|
this.mailer = nodemailer.createTransport({
|
|
this.mailer = nodemailer.createTransport({
|
|
host: "smtp.gmail.com",
|
|
host: "smtp.gmail.com",
|
|
port: 465,
|
|
port: 465,
|