Skip to main content
1-Visitor
April 7, 2019
Solved

Sending Email through code

  • April 7, 2019
  • 2 replies
  • 2002 views

Hi,

 

After configuring the mail server thing and then running the SendMessage service inside the mail server thing getting below error : 

Unable to Invoke Service SendMessage on CBMSolutionsMailThing : Unable to send error email for logged incident.

 

Thanks and regards,

Aditya Kumar

Best answer by tmisner

Hello Aditya,

 

Thank you for reaching out on the ThingWorx Developer Community.

 

Can you confirm which mail server you are attempting to utilize with this connector (Exchange, Gmail etc.)? Have you confirmed that there is proper connectivity between ThingWorx and this mail server?

 

We have an article which seems to cover generic issues when attempting to send messages with the Mail Extension. Please see here.

 

If you proceed through this article and are still having issues perhaps you could share a redacted version of the CBMSolutionsMailThing's Configuration page to ensure this is setup correctly.

 

Regards,

Tyler Misner

ThingWorx Technical Support Engineer

2 replies

tmisner16-PearlAnswer
16-Pearl
April 9, 2019

Hello Aditya,

 

Thank you for reaching out on the ThingWorx Developer Community.

 

Can you confirm which mail server you are attempting to utilize with this connector (Exchange, Gmail etc.)? Have you confirmed that there is proper connectivity between ThingWorx and this mail server?

 

We have an article which seems to cover generic issues when attempting to send messages with the Mail Extension. Please see here.

 

If you proceed through this article and are still having issues perhaps you could share a redacted version of the CBMSolutionsMailThing's Configuration page to ensure this is setup correctly.

 

Regards,

Tyler Misner

ThingWorx Technical Support Engineer

1-Visitor
May 2, 2019

Thanks Tyler.