Guest User

Untitled

a guest
Jul 9th, 2018
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. async function send(mailObject: IMailObject): Promise<any> {
  2.  
  3. console.log('calling send function');
  4. let transporter = NodeMailer.createTransport({
  5. host: 'smtp.ethereal.email',
  6. port: 587,
  7. secure: false, // true for 465, false for other ports
  8. auth: {
  9. // user: account.user, // generated ethereal user
  10. // pass: account.pass // generated ethereal password
  11. }
  12. });
  13. }
Add Comment
Please, Sign In to add comment