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

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

Translate the entire conversation x

SMTP windchill with microsoft 365

arongoni
5-Regular Member

SMTP windchill with microsoft 365

Version: Windchill 12.0

 

Use Case: after switching from gmail to microsoft 365 he no longer sends me mail


Description:

i have set
mail.properties
wt.mail.smtp.username=xxxxxxx
wt.mail.smtp.password=xxxxxxx
wt.properties
wt.mail.mailhost=smtp.office365.com:587
wt.mail.properties=\$(wt.home)\$(dir.sep)mail.properties
wt.mail.smtp.starttls.enable=true

site.xconf

<Property name="wt.mail.mailhost" overridable="true" targetFile="codebase/wt.properties"
value="smtp.office365.com:587"/>
<Property name="wt.mail.properties" overridable="true"
targetFile="codebase/wt.properties"
value="$(wt.home)$(dir.sep)mail.properties"/>
<Property name="wt.mail.smtp.starttls.enable" overridable="true"
targetFile="codebase/wt.properties"
value="true"/>

 

Where is the error?

Thanks

 

4 REPLIES 4
VladimirN
24-Ruby III
(To:arongoni)

Article - "How to configure an SMTP mail server in Windchill": https://www.ptc.com/en/support/article/CS46949 

@arongoni ,

You stated, "he no longer sends me mail".

Is anyone receiving email? Or is it just you that is not receiving email?

arongoni
5-Regular Member
(To:d_graham)

He no longer sends mail to anyone

Likely the problem is in the IE task SendMail.xml

This task includes a webject. name Send-Mail type MSG

If using Office 365 mail, the FROM parameter's data in the Send-Mail webject must be the value of wt.mail.smtp.username from mail.properties.

 

Therefore, if using Office 365 mail the Send-Mail webject's FROM parameter's data should be hardcoded with the email address specified in mail.properties wt.mail.smtp.username.

Announcements

Top Tags