Skip to main content
5-Regular Member
Oct 12, 2016 11:59 AM UTC
Question

How to test Send Email with ThingWorx 6.5

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

9 replies

5-Regular Member
Oct 12, 2016 12:31 PM UTC

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.

Translate
mlohokare5-Regular MemberAuthor
5-Regular Member
Oct 12, 2016 12:56 PM UTC

Hi Sushant,

Thanks.

Regards,

Mahesh

Translate
5-Regular Member
Oct 12, 2016 7:18 PM UTC

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

Translate
mlohokare5-Regular MemberAuthor
5-Regular Member
Oct 13, 2016 2:03 PM UTC

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

Translate
5-Regular Member
Oct 13, 2016 2:08 PM UTC

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?

Translate