Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- async function send(mailObject: IMailObject): Promise<any> {
- console.log('calling send function');
- let transporter = NodeMailer.createTransport({
- host: 'smtp.ethereal.email',
- port: 587,
- secure: false, // true for 465, false for other ports
- auth: {
- // user: account.user, // generated ethereal user
- // pass: account.pass // generated ethereal password
- }
- });
- }
Add Comment
Please, Sign In to add comment