Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X
I have email set up to send but it is sending from a single user that I have set up so that I can access the mail server. I am connected to Active Directory for my users. How do I set it up so that the email shows the user's address instead of my generic Microsoft account? I know that it can be done but I just can't find my notes on this.
Are you referring to the wt.mail.from=PdmlinkPostmaster@... variable? That's in the wt.properties and who emails appear to be sent from.
Hello @avillanueva ,
I don't think so since that emails it from one user no matter what. I remember being able to get the email to show from the user that started the workflow or even used the email function from Quick Links. That is what I am looking for.
Thanks,
Brian
I assuming you have this setup but I am not using this:
https://www.ptc.com/en/support/article/CS46949?source=search
I checked and I am using localhost as my mailhost and there is a postfix service running (mail transfer agent). Are you running Windows or Linux?
Yes I have that setup. I found this https://www.ptc.com/en/support/article/CS10334?source=search but it isn't working either. I am on Windows.
Can you post your settings (minus your specifics) related to *mail* and the settings in the article above? I do not use wt.workflow.work.UseDefaultNotificationSenderEmail so I guess its detault (false?). If true, then it picks up wt.notify.notificationSenderEmail=$(wt.admin.defaultAdministratorName) as the sender. But false would be the initiator of the workflow, otherwise, address defined by wt.mail.from=PdmlinkPostmaster@<my domain>.
Try setting that value to false.
I set UseDefaultNotificationSenderEmail to false and that would have worked except the way we have the default email address setup it will not allow it to send as another email. So I am working with IT on getting one that will allow that and seeing if switching to the new email address will work.
I am not sure if postfix is a work around but it avoids the exchange challenge as described here:
https://www.ptc.com/en/support/article/CS125938?source=search
There are some others on windows that might help work around issue:
https://alternativeto.net/software/postfix/?platform=windows