For additional related documentation and file downloads, please visit www.ewon.biz/support. The original document could be found here: KB-0046
APPLICABLE PRODUCTS
Ewon Flexy.
PRE-REQUISITES
Talk2m Account
To be able to use the Talk2m relay server, you need an Ewon Flexy connected online in your Talk2Mm account.
You can create a Talk2m account by installing our Ecatcher software and by following the
Talk2m account creation proposed on the login screen.
SMTP Server
The Talk2m SMTP relay address to use is : relay.talk2m.com.
Maximum size of an attachment of 10240000 bytes.
IN THIS ARTICLE
General Configuration
SMTP Server
To configure the Talk2M SMTP relay in your Ewon, follow the following procedure:- Open your Internet browser.
- Browse the IP address of your Ewon and log in the Flexy Web Interface.
- Go to: Setup ► System ► Main ► Net services ► SMTP (mails).
- Fill the different configuration fields:
- SMTP Server Address: relay.talk2m.com.
- SMTP Server Port: 25
- Email “From” User name: type any email address.
This Email address will be used in the Reply-To field of the Email : - Username: must be left empty
- Password: must be left empty
Talk2m Account
There is no configuration needed for enabling the Email and SMS relay in your Talk2m account.
As long as the Ewon Flexy is online in your account, it can use the Talk2M SMTP relay.
Send Emails
Alarm Notifications
If you wish to send an email using the Talk2M relay server when an alarm is triggered, follow the following procedure:
- Go to: Tags ► Values in the web interface of your Ewon Flexy.
- Switch the mode of the page from VIEW to SETUP.
- Click the Configure Alarm actions button, which has a bell icon (An alarm condition must have been configured for this Tag).
- Select for which state of the alarm you would like to send an email:
-
- ALM: when the tag enters the alarm state.
- ACK: when the alarm has been acknowledged.
- RTN: when the tag comes back to normal state.
- END: when the tag has both encountered the ACK and RTN states.
-
- Provide the details of the email: Email to, Email Subject and Email Attachment(s) must be filled.
- Save the configuration.
- Switch back to VIEW mode.
Sending an email to multiple recipients is possible. Just add a comma “,” (no spaces) between the different email addresses in the <Email to> or in the <Email CC>.
Using BASIC Script
You can send emails through the Talk2M SMTP relay by using the SENDMAIL BASIC command.
- Example:
SENDMAIL "[email protected]", "[email protected]", "Email Subject", "Email Body"
More information can be found in the Programming Reference Guide.
Send Text Messages (SMS)
The process can be summarized as follows:
- You configure the Ewon Flexy to send an email through the Talk2M SMTP relay like previously explained and you specify the recipient phone number inside the email address
- The Talk2M relay transforms the email into a text message (SMS) and sends it to the phone number provided in the former email address.
This SMS sending is a Paid service of Talk2M. Talk2M will charge 0.30 €/SMS on your account credit for the Free+ Account and 0.15€/SMS for the Pro Account.