Skip to main content
5-Regular Member
October 12, 2016
Question

How to test Send Email with ThingWorx 6.5

  • October 12, 2016
  • 2 replies
  • 6499 views

Hi,

I am newbie to ThingWorx and I want to test how can i send an email using ThingWorx 6.5.

For the same I am want to know further steps to be followed, till now I did below basic steps,

  1. Create a Thing
  2. Filled "General Information"
  3. Select The "Thing Template" attribute value as "MailServer"
  4. Go to "Services" Tab
  5. Click on down arrow in Services
  6. Click on Test "SendMessage"
  7. After opening popup window, fill following required fields,
    • subject
    • to
    • from
    • body
    • Click on Test
    • I am getting below Error
    • Unable to Invoke Service SendMessage on Test-email : Could not connect to SMTP host: smtp.gmail.com, port: 25

Please suggest, what are all the steps need to be followed to send a successful Email/message.

Regards,

Mahesh

2 replies

5-Regular Member
October 12, 2016

Hi Mahesh, have you already tried the ThingWorx Tutorial on this? It's covered quite extensively. Additionally there's also a Mail Extension available which you might want to have a look at.

Hope this helps.

mlohokare5-Regular MemberAuthor
5-Regular Member
October 12, 2016

Hi Sushant,

Thanks.

Regards,

Mahesh

5-Regular Member
October 12, 2016

Hello Mahesh,

There is a known issue with the Mail Server Extension and VPNs. Please review this KCS article and let me know if you have further questions on this: https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS236135

Thanks!

Tori

mlohokare5-Regular MemberAuthor
5-Regular Member
October 13, 2016

Hi,

I tried with exploring following,

1. Check for port

    tried with suggested command and getting below error,

    Connecting To SMTP.gmail.com...Could not open connection to the host, on port 25: Connect failed

    Tried with below port also but result is same with port number changed.

2. For configuration, I am attaching screenshot here.Configuration-page.jpg

Please suggest.

Regards,

Mahesh

5-Regular Member
October 13, 2016

Mahesh, if the port is blocked you won't be able to communicate on that - could you try opening this port both in Incoming and Outgoing in your firewall?