How to configure SMTP in an on-premises setup

Problem

I would like to configure an SMTP to be used by the unblu server when sending email notification.

Solution

There may be two cases where the unblu server can send email-notifications:

  1. If the unblu server is configured to send email notifications for each chat request.
  2. If a chat request is not answered within the predefined timeout a contact form is displayed. Once the form is submitted the unblu server will send an email notification.

The configuration requires two parts:

  1. An SMTP needs to be configured.

  2. A list of recipients needs to be defined.

#you need to configure your smtp here, so replace the "smtp.mailserver.com" with actual server
com.unblu.platform.server.mail.mailservice.properties.mail.smtp.host=smtp.mailserver.com

#configure the port is used, it can be 25 or any other depends on your smtp server
com.unblu.platform.server.mail.mailservice.properties.mail.smtp.port=the-port

#whether the smtp needs authentication, the user needs to be authenticated or not
com.unblu.platform.server.mail.mailservice.properties.mail.smtp.auth=true

#If set to true causes the transport to wait for the response to the QUIT command.
com.unblu.platform.server.mail.mailservice.properties.mail.smtp.quitwait=false

#debug option
com.unblu.platform.server.mail.mailservice.properties.mail.smtp.debug=false

#whether to start STARTTLS or not
com.unblu.platform.server.mail.mailservice.properties.mail.smtp.starttls.enable=true

#your username, if the smtp require authentication
com.unblu.platform.server.mail.mailservice.properties.mail.smtp.user=yourusername

#your password
com.unblu.platform.server.mail.mailservice.properties.mail.smtp.pass=yourpassword

#the list of recipients, it may be a list or just a single email, who is expected to get chat-request as an email
com.unblu.core.chatrequestmail.recipients=["firstrecipients@yourdmain.com","secondrecipients@yourdmain.com"]

Invite a New Visitor Using Email

  • deployonprem

results matching ""

    No results matching ""