|
|
Google has disabled basic authentication for mail, requiring users to transition to OAuth or use app passwords. Azure has deprecated basic authentication for mail, and it will be removed in 2025. Users must transition to OAuth.
|
|
|
ThingWorx acts as an intermediary and has no involvement in the content of the emails. The email body content will adhere to SMTP configurations and related guidelines, which vary depending on the email provider.
|
|
|
Make sure that you have a FileRepository Thing in which email attachments can be stored.
|
|
|
A valid email address must contain an @ character. For example, [email protected]. If this format is not used, an error will be displayed. If the email address contains an @ character but not a period, it is also considered a valid email. For example, someone@companycom.
|


|
|
The default values in these fields above are examples. Change them as needed for your organization.
|
|
|
As many of these settings are dependent on how the server is set up, contact your administrator or see documentation associated with the server to determine the proper settings.
|
|
JDBC Settings
|
Description
|
||
|
SMTP Server
|
Address of the server from which emails are sent
|
||
|
SMTP Server Port
|
Port through which ThingWorx logs in to the mail server to send emails
|
||
|
POP3 Server
|
Address of the server from which emails are received
|
||
|
POP3 Server Port
|
Port through which ThingWorx logs in to the mail server to check and retrieve emails
|
||
|
Use TLS
|
Indicates whether to use TLS (Transport Layer Security)
|
||
|
Use SSL
|
Indicates whether to use SSL (Secure Sockets Layer)
|
||
|
Mail Account User
|
The user name for the email account that is used to send and retrieve emails on the given mail server. This is different than the from field value, which is used for the sender address when sending emails. The from field value needs to be a valid email account.
|
||
|
Mail Account Password
|
The password for the email account.
For Gmail (and in other cases), the specified email account can be updated to allow less secure app sign-in (see KCS Article CS200624).
|
||
|
Default From Field
|
Refers to the email address to use as the from address when no address is specified when invoking the SendMessage services. This is primarily used when sending Notifications emails.
|
||
|
Connection Timeout
|
Refers to how long ThingWorx should wait while trying to log in to the mail server before throwing an exception. The time should be entered in milliseconds.
|
||
|
Operation Timeout
|
Refers to how long ThingWorx should remain open without reading any data. The time should be entered in milliseconds.
|
||
|
Socks Host
|
The host name of a Socks proxy server if used with the mail server.
|
||
|
Socks Port
|
The port through which ThingWorx connects to the SOCKS proxy server, if used.
|
||
|
Attachment File Repository
|
The name of the FileRepository Thing to use for processing attachments when reading emails from the mail server.
|
||
|
No-Reply Address
|
The address for sending an email from an anonymous or generic address. No reply emails are allowed to this address.
|
||
|
Reply Address
|
The address to which an email recipient would reply. If the email recipient replies to an email that you have sent, the email address that you have set in Reply Address field will appear.
|
||
|
Error Address
|
The address to receive emails notifying of recipients that do not exist.
The sender of the notification email would be either the address that you have set in No-Reply Address or, if it is not set, then the mail account user.
No notification is sent when the recipient email address is correct. Also, notifications are only sent for incorrect email address and not for invalid user accounts. For example, if [email protected] is an invalid account, then there will not be any automated notification.
|
||
|
Select
|
Use OAuth 2.0
|
||
|
Provider
|
Your mail provider
|
||
|
Client ID
|
Client ID or Unique ID of service account
|
||
|
Issuer
|
Email address of service account
|
||
|
Subject
|
Email address to send from
|
||
|
Client Certificate
|
PEM-formatted certificate
|
||
|
Certificate Key
|
PEM-formatted private key
|
|
Parameter
|
Description
|
|---|---|
|
Platform Proxy Scheme
|
http/https for the proxy machine.
|
|
Platform Proxy Host
|
Host name for the proxy machine.
|
|
Platform Proxy Port
|
The port on which the proxy service is running on the proxy machine.
|
|
|
This will send an email from the default address you entered in the No-Reply Address field.
|
|
|
Use this service only when you have a single attachment with the email. Use SendMessageWithAttachments when you want to attach more than one file with the email.
|
|
|
If you have stored the attachment in ThingworxStorage/repository/FileRepository, you can directly give the name of file in this field. For example, if the file name is Testfile.pdf,then you can enter this name as it is in this field.
|

|
|
If you have stored the attachment in ThingworxStorage/repository/FileRepository, you can directly give the name of file in this field. For example, if the file name is Testfile.pdf, then you can enter this name as it is in this field.
|
|
|
You can add multiple attachments using Add.Make sure you save all attachments and then you can see those listed in the info table.
|
|
|
Use this service only when you want to attach a single image with the email. Use SendMessageWithImages when you want to attach more than one image.
|

|
|
You can add multiple images using Add. Make sure you save all images and then you can see those listed in the infotable.
|