Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Hello, The client has a need to default the notification sender email address for all notifications being sent from Windchill. To enable this I have made the following changes:
1. Added wt.workflow.work.UseDefaultNotificationSenderEmail = true
2. Changed <ie:param name="FROM" data="senderEmail@client.com" default="<%=DEFAULT_FROM%>"/> in <WT_HOME>\tasks\wt\mail\Sendmail.xml
I wanted to check what is the best practice to customize Sendmail.xml file?
Thanks in advance!
Regards
Gaurav
Hi Gaurav
The best is to update the sendmail as per CS10334 as I have used this many times, if on AWS you may need additional Windows components like SMTP.
Thanks
Shaun
hello Gaurav,
I think the best way would be to read the property wt.notify.notificationSenderEmail and use its value in the task parameter.
However, you would have to add a piece of Java code.
But if you think this won't often change, then you can hard code it.