0

Im trying to figure out a way to send emails with my squirrelmail credentials in nodmailer.

Here is my code

var smtpConfig = {
    service: w_server_config.service.mail.provider,
    port   : w_server_config.service.mail.port,
    secure : true,
    auth: {
            user: w_server_config.service.mail.addr,
            pass: w_server_config.service.mail.pass   
        }
}
Molda
  • 5,619
  • 2
  • 23
  • 39
Sqro2
  • 21
  • 1
  • 5

0 Answers0