Setting Sender E-mail Address
For e-mail messages to be sent, some mail servers require that a valid e-mail address be specified in the From header of the e-mail message. Windchill uses the value specified in the wt.mail.from property in the wt.properties file as the default sender of e-mail messages. Similarly, the wt.notify.notificationSenderEmail property is used to specify the e-mail address used as the sender of all event-based notifications.
By default, the wt.mail.from property is set to Postmaster@<hostname>, where <hostname> is the value specified in the wt.rmi.server.hostname property. The wt.notify.notificationSenderEmail property defaults to the value of the wt.admin.defaultAdministratorName property.
PTC suggests that the wt.mail.from and wt.notify.notificationSenderEmail properties both be set to the e-mail address of the Windchill administrator or some other authorized user.
Many e-mail servers require the use of a fully qualified e-mail address that has verifiable domain components. Specifically, all originator and recipient addresses must be in the form of:
<name>@<my.company.com>
Where <my.company.com> is a valid e-mail domain that can be verified using the DNS.
Use the xconfmanager to change the wt.mail.from and wt.notify.notificationSenderEmail properties to a value of your choice.
From a windchill shell, execute the following command:
xconfmanager -s wt.mail.from=<authorized_user> -s wt.notify.notificationSenderEmail=<authorized_user> -t <Windchill>/codebase/wt.properties -p
Where <Windchill> is the location where Windchill is installed, and <authorized_user> is the valid e-mail address of an authorized Windchill user.
Было ли это полезно?