Advertisement
shivammanawat

sendgrif

Apr 19th, 2019
267
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1.  
  2.  
  3. // const sgMail = require("@sendgrid/mail");
  4. // let SENDGRID_API_KEY =
  5. // "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";
  6. // sgMail.setApiKey(SENDGRID_API_KEY);
  7.  
  8. // const msg = {
  9. // to: user2.email,
  10. // from: "latchaid@latchaid.com",
  11. // subject: "Password Reset Successfull",
  12. // text: "Password Changed",
  13. // html: ` body `;
  14. };
  15.  
  16.  
  17.  
  18.  
  19. // sgMail.send(msg);
  20. // console.log("done");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement