smtp relay host
This commit is contained in:
@@ -20,12 +20,15 @@ export class MailService {
|
||||
|
||||
|
||||
this.transporter = nodemailer.createTransport({
|
||||
service: 'gmail',
|
||||
auth: {
|
||||
user: process.env.USER_GMAIL,
|
||||
pass: process.env.PASS_GMAIL,
|
||||
},
|
||||
});
|
||||
host: 'smtp-relay.gmail.com',
|
||||
port: 587,
|
||||
secure: false,
|
||||
requireTLS: true,
|
||||
auth: {
|
||||
user: process.env.USER_GMAIL,
|
||||
pass: process.env.PASS_GMAIL,
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user