Skip to main content
Version: 1.4.0

Mailer

OpenSSO using mailer for activate user, send message contact, forgot password, etc. So you have to activate this.

config.js
useMailer: true,
recipientEmailAddress: '[email protected]',
nodeMailerTransport: {
pool: true,
host: 'smtp.zoho.com',
port: 465,
secure: true, // secure:true for port 465, secure:false for port 587
auth: {
user: '[email protected]',
pass: 'xxxxxxx'
}
},

Description:

  • useMailer is to activate the mailer system.
  • recipientEmailAddress message from contact us will be delivered to here.
  • nodeMailerTransport is the configuration from nodemailer.
note
  • I recommend to use Zoho Mail, because it's very easy and cheap.
  • If you want to use free smtp service, Elastic Email is a good option for you.
  • If you need custom or more advanced configuration, please see >> https://nodemailer.com.
Activation User

You can prevent BOT / Spam on user registration by sending an activation link via email.

config.js
// ---
useActivationUser: true,
// ---