cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

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

How to customize Sendmail.xml

gaurav_ojha
2-Guest

How to customize Sendmail.xml

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 2

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

Florent
14-Alexandrite
(To:gaurav_ojha)

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.

 

 

 

 

 

 

Florent ROUSSEL
www.4cad.ca
Announcements

Top Tags