Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var email = require("./lib/node_mailer");
- for(var i = 0; i < 5; i++){
- email.send({
- host : "localhost", // smtp server hostname
- port : "1025", // smtp server port
- domain : "localhost", // domain used by client to identify itself to server
- authentication : "login", // auth login is supported; anything else is no auth
- username : "dXNlcm5hbWU=", // Base64 encoded username
- password : "cGFzc3dvcmQ=", // Base64 encoded password
- to : "marak.squires@gmail.com",
- from : "obama@whitehouse.gov",
- subject : "node_mailer test email",
- body : "hello this is a test email from the node_mailer"
- });
- }
Add Comment
Please, Sign In to add comment