Skip to main content
17-Peridot
February 7, 2024
Question

Mail Intergration

  • February 7, 2024
  • 2 replies
  • 4691 views

Hi Guys,

@HelesicPetr 

I am looking for the mail intergration, i installed hmail Server (intergrated with Windchill) and configured with Thunderbird. If i send a mail, other person can received that mail, but when i create a promotion request that concern person is not received the notification.

 

This are the comment which i used:

xconfmanager -t codebase/wt.properties -s wt.mail.mailhost=PDS.name.com:25 -p
xconfmanager -t codebase/wt.properties -s wt.mail.properties=D:\Windchill_12.1\mail.properties -p
xconfmanager -t codebase/wt.properties -s wt.mail.from=Postmaster@$(wt.rmi.PDS.name.com) -p
xconfmanager -t codebase/wt.properties -s wt.workflow.work.UseDefaultNotificationSenderEmail=true

 

Regards,

Aj

 

2 replies

HelesicPetr
22-Sapphire II
22-Sapphire II
February 7, 2024

Hi @Amirtharaj_K 

Does your hmail server use credentials to send a mesages? 

if so you need to set a login user with password in the Windchill properties. 

 

xconfmanager -p -s wt.mail.smtp.username=<mail-user> -t codebase/wt.properties

xconfmanager -p -s wt.mail.smtp.password=<mail-user-password>  -t codebase/wt.properties

 

Or set the hmail server to do not use the login. 

I always use a login for emailing and yes I also use hmail server 😄 

PetrH

17-Peridot
February 7, 2024

Thanks for the replay @HelesicPetr 

xconfmanager -t codebase/wt.properties -s wt.mail.properties=C:\Mail_Configuration\mail.properties -p

if i run the above comment i got a output like this in "wt.properties: wt.mail.properties=C\:Mail_Configurationmail.properties"

 

can u help on this

 

Regards,

Aj

HelesicPetr
22-Sapphire II
22-Sapphire II
February 7, 2024

Hi @Amirtharaj_K 

You need to use the double "\" in the folder path

for example 

"E:\\Windchill_12.0\\creo_view_adapters"

PetrH

 

 

 

17-Peridot
February 8, 2024

Hi @Amirtharaj_K 

This is a very typical email integration problem

  1. Please modify this file <Windchill_Home>\tasks\wt\mail\Sendmail.xml
  2. Find <ie:param name="FROM" data="${@FORM[0]FROM[0]}" default="<%=DEFAULT_FROM%>"/>
  3. Add your Fixed sender <ie:param name="FROM" data="XXX@XXX.xxx" default="<%=DEFAULT_FROM%>"/>
  4. Save it
  5. Restart Windchill and test

https://www.ptc.com/en/support/article/CS410413

 

 

17-Peridot
February 8, 2024

Thanks for the Replay @HelesicPetr , @Rocket_Max 

 

@HelesicPetrI can see the Email queue in Queue Management, but the status is ready. How can we proceed?

Amirtharaj_K_0-1707377366969.png

Regards,

Aj

HelesicPetr
22-Sapphire II
22-Sapphire II
February 8, 2024

Hi @Amirtharaj_K 

It will send several times, and then if there is error it fails

If there is no error, it will disappear 

The queue is processed by Background method server if it is set. So you should just wait. 

Or check the log files if there is any information about emailing. Also you can set a debug level for emailing and check how it goes. 

 

If the background method server is not set then it is processed by Standard Method server and also you need to wait. 

 

PetrH