Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var email = require("./path/to/emailjs/email");
- var server = email.server.connect({
- user: "informes@solbasta.com",
- password:"soluciones123",
- host: "solbasta.com",
- ssl: true
- });
- // send the message and get a callback with an error or details of the message that was sent
- server.send({
- text: "i hope this works",
- from: "you <informes@solbasta.com>",
- to: "someone <hpalacios@disolu.com>, another <rberrospi@smartrix.pe>",
- cc: "else <berrospi@disolu.com>",
- subject: "testing emailjs"
- }, function(err, message) { console.log(err || message); });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement