Guest User

Untitled

a guest
Jun 14th, 2018
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. var email = require("./lib/node_mailer");
  2.  
  3.  
  4. for(var i = 0; i < 5; i++){
  5.  
  6. email.send({
  7. host : "localhost", // smtp server hostname
  8. port : "1025", // smtp server port
  9. domain : "localhost", // domain used by client to identify itself to server
  10. authentication : "login", // auth login is supported; anything else is no auth
  11. username : "dXNlcm5hbWU=", // Base64 encoded username
  12. password : "cGFzc3dvcmQ=", // Base64 encoded password
  13. to : "marak.squires@gmail.com",
  14. from : "obama@whitehouse.gov",
  15. subject : "node_mailer test email",
  16. body : "hello this is a test email from the node_mailer"
  17. });
  18.  
  19. }
Add Comment
Please, Sign In to add comment