Skip to main content
1-Visitor
June 19, 2014
Question

Mail Server using TLS

  • June 19, 2014
  • 8 replies
  • 2084 views

I'm trying to configure a mail server to use port 587 and TLS for outbound notifications.  When testing the SendMessage script I get an error indicating that that it could not connect on port 25.

    8 replies

    5-Regular Member
    June 19, 2014

    Hi David,

    It is possible you are receiving this error because ThingWorx is being blocked on the server. Is there a way you can disconnect and try connecting from a different network i.e. a guest network?


    Thanks,

    Saeed



    davidcor1-VisitorAuthor
    1-Visitor
    June 19, 2014

    I'm working on a desktop PC so I can't switch networks. Why is it trying on port 25 instead of 587?



    5-Regular Member
    June 19, 2014

    To better understand the issue, can you export the smtp mail thing and upload it to your repository?

    5-Regular Member
    June 19, 2014

    It may not be trying on port 25 as the error message suggests. It is a generic message and has been reported to development. To be certain whether or not the port is the issue, ping the server on the port you specified and post the result. Can you also confirm that the SMTP host supports this configuration?

    davidcor1-VisitorAuthor
    1-Visitor
    June 19, 2014

    It is a MS hosted mail server.  I use this configuration for other monitoring agents so I know it works



    davidcor1-VisitorAuthor
    1-Visitor
    June 20, 2014

    any thoughts on what to do next?



    5-Regular Member
    June 24, 2014

    Can you export your mail server Thing from Thingworx and upload it to your group repository? I also need to know if there is a proxy server that may be affecting communication to the mail server.

    davidcor1-VisitorAuthor
    1-Visitor
    June 25, 2014

    I can export it.  Not sure how to access the group repository.  No proxy.  I've tested this by using the same parameters in a PowerShell script and was able to send a message from the server



    5-Regular Member
    June 26, 2014

    Hi David,

    From the

    My Forum

    tab, you can access your company's

    File Repository

    where you can upload files to help with troubleshooting.




    davidcor1-VisitorAuthor
    1-Visitor
    July 2, 2014

    uploaded the mail server to the file repository