Setting Authentication for an SMTP Server
By default, Windchill sends all electronic mails anonymously to the SMTP host defined in the wt.mail.mailhost property.
If the port used by the SMTP Server is not the default port (25), you must append it (after a colon character) at the end of the value of the property.
For example, with port 10025 being used:
wt.mail.mailhost=192.168.0.15:10025
If some restrictions exist on server access (such as 'relaying prohibited' or 'anonymous connection denied'), the messages sent by Windchill are rejected by the mail server.
To configure Windchill to authenticate to the SMTP server, the following properties should be manually added in a file outside of the Windchill codebase (For example, <Windchill>/mail.properties).
wt.mail.smtp.username=<mail-user>
wt.mail.smtp.password=<mail-user-password>
Additionally, wt.mail.properties must be set in wt.properties to the mail.properties file as follows:
xconfmanager -s "wt.mail.properties=$(wt.home)$(dir.sep)mail.properties" -t "codebase/wt.properties"
Было ли это полезно?