Skip to main content
1-Visitor
March 30, 2020
Question

How to customize Sendmail.xml

  • March 30, 2020
  • 2 replies
  • 2168 views

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

2 replies

1-Visitor
April 1, 2020

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

1-Visitor
April 1, 2020

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.