symfio-contrib-nodemailer

Email sender plugin.

symfio-contrib-nodemailer

Email sender plugin.

symfio = require "symfio"
 
container = symfio "example"__dirname
 
# You can use preconfigured services like Gmail or Hotmail. 
# container.set "email service", "GMAIL" 
 
# Or you can define custom SMTP server. 
container.set "email host""smtp.gmail.com"
container.set "email port"465
 
container.set "email username""user@gmail.com"
container.set "email password""password"
 
loader = container.get "loader"
 
loader.use require "symfio-contrib-nodemailer"
 
loader.load()
  • email service
  • email host
  • email port
  • email connection secured - Use secured SMTP connection. Default is false.
  • email username
  • email password