@PaiChung wrote:
Unable to Invoke Service SendMessage on xxxxMailServerConfigThing
does this mean that the 'Thing' does not exist or the SendMessage service doesn't exist on the 'Thing'?
Hi PaiChung,
That depends--do you want to send email, receive email, or both?
First I'd suggest you make sure the network allows connections to and from Thingworx (especially sending via SMTP if your Exchange server is, say, firewalled of in a corporate network.
\Then make sure you're using the newest version of the mail extension--that is 3.6.0.
If you want to send--you use SMTP as the protocol and put in the IP and port of your server.
If you want to receive, you must choose either IMAP or POP as the protocol (but not both at the same time) and the correct IP address and port.
I would make sure the Connection TImeout and Read Timeout are not to low (something like 10,000ms)--but that depends on your security settings and network.
If you use an encrypted connection (TLS or SSL), check the appropriate box. Enter a valid email address as the mail account user (the send or receiver) and your password. Fill out all the fields in the service--if sending, the recipient, a subject, and body.
If the MailThing weren't created correctly, you wouldn't get this far (after you import the extension you create a MailThing that extends the MailServer ThingTemplate).