I am using Mail Server Extension (Version 3.6.0) that I downloaded from PTC Marketplace. I have Imported this Extension and created a Thing.
1. Now, when I try Executing the inbuilt "SendMessage" Service of MailServer Thing Template Emails are being sent without any problem and I can see the same emails in my Gmail Sent box. But, when the same is configured using the Notifications it doesn't work, it just doesn't send any email. However when I wrote a subscription to debug it I get "NotificationSent" Notification Event. This is weird. I am using Gmail SMTP Service.
2. The other issue I am facing is that whenever I send an email to my Outlook Work Mail ID the email just doesn't get delivered. However, Thingworx says that the message was delivered and I could also see the same email from my Gmail Sent Box. To check if my Gmail Email ID was blacklisted on the work account, I just sent a normal email (from Gmail Web application) from my Gmail account to the Outlook and it works pretty fine. I received the Email on my Outlook Work account. What might be the issue?
Solved! Go to Solution.
Thanks for the Reply. I had already tried that and that didn't work for my Issue. However if you go through my issue again, I said I am able to send the Emails from "SendMessage" Service. It is only when I use the Notification Alert it is not working. I recently used Twilio for the Same Notification Alert and Notification Alert worked with Twilio. It is just that it is not working with Mail Server.
Hope I was able to make it clear
It was mentioned at the last in the Article that you shared. I missed it. Thanks again for your help.
But Still I am facing the same with the second issue. Please suggest. I am not even able to find the Emails in Junk Folder of my Outlook Work Mail. But I can see that the Mail is Sent if I look at my Gmail Sent Box now (which I am using as SMTP)
I presume that when you test SendMessage() service you do it under your Administrator account? I might be wrong, but Notifications probably use another account, which may not have sufficient access rights to call this service. Check under which user you have that log message that you log in your subscription. Also check that you don't have any errors in ApplicationLog when you generate a notification.
As for your second question -- sorry, I've got no clue. My ThingWorx emails often get into Spam folder -- maybe check this one?
Thanks for the Reply. The Notifications are also using the Administrator account. Please see the attached File.
But your suggestion helped in a way. When I checked the Security log, I saw that the Default From Field was configured Incorrectly>