Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2016
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. var email = require("./path/to/emailjs/email");
  2. var server = email.server.connect({
  3. user: "informes@solbasta.com",
  4. password:"soluciones123",
  5. host: "solbasta.com",
  6. ssl: true
  7. });
  8.  
  9. // send the message and get a callback with an error or details of the message that was sent
  10. server.send({
  11. text: "i hope this works",
  12. from: "you <informes@solbasta.com>",
  13. to: "someone <hpalacios@disolu.com>, another <rberrospi@smartrix.pe>",
  14. cc: "else <berrospi@disolu.com>",
  15. subject: "testing emailjs"
  16. }, function(err, message) { console.log(err || message); });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement