Question & Answer
Question
How do I configure SendMail to use username/password authentication?
Answer
At some locations, emails are relayed using the authentication method specified by the SMTP server. In NPS 4.6.2 and later, SendMail can be configured to send emails from the NPS system using a username and password. To do so, edit the /nz/data/config/sendMail.cfg file, changing the values for login.usernameand login.password, and setting the login.method to 1. Then copy a backup of/nz/data/config/sendMail.cfg to /nz/support/etc/.
The following is a sample of the sendMail.cfg file:
#
# Configuration parameters for sendMail program.
# Mail server name and port
mailServer.name = mailservername or IP address
mailServer.port = 25
# Note: Uncomment and set the entries below to enable authentication based on username, password and authentication method.
# Login information
login.username = Mailuser
login.password = Mailuser123
# Login method of mail server
# Enter value as
# 1 for AUTH LOGIN
# Note: User authentication will not be done, if above value is not provided
login.method = 1
# Sender information
sender.name= "NPS Event Manager"
sender.address = eventsender@domainname.com
# Other
# Note: Valid separators between multiple mail addresses are ',' or ';'
cc =
There is no need to restart any services after changing the sendMail.cfg file for changes to take effect.
Historical Number
NZ214026
Was this topic helpful?
Document Information
More support for:
IBM PureData System
Software version:
1.0.0
Document number:
462525
Modified date:
17 October 2019
UID
swg21570248