UTILITY - EMAIL

AviorEco provides a dedicated cloud utility to send emails directly from the device. This service supports single or multiple recipients, with or without file attachments.

SMTP Server Requirement

This utility does not provide an outbound mail server. Email dispatch occurs entirely through the customer's own SMTP server, which must be correctly configured using valid routing and authentication credentials within the parameters below.

Rate Limiting (Throttling)

To ensure server stability and prevent spam, a strict 60-second cooldown applies per device. If an email request is triggered less than 60 seconds after a previously successful dispatch from the same hardware, the gateway will immediately block the operation without attempting an SMTP handshake.


Emails are triggered by executing an HTTP request via the AT#HTTP command to the following gateway endpoint:

https://contriveiot.eu/sm

Gateway Query Parameters

To configure the email, complete the URL string using the following parameters:

?imei=$N14

Dnamically retrieves and injects the device's 15-digit IMEI number.

&webid=$D13

Dynamically retrieves and injects the device's Web ID.

&smtp_host=

The address of your outbound SMTP mail server.

&imei=$N14=

The port used by your SMTP server (typically 465 or 587).

&smtp_user=

The authentication username for your SMTP server.

&smtp_pass=

The authentication password for your SMTP server.

&to=

Destination email address(es).
Separate multiple recipients using a semicolon ( ; ).

&subject=

The subject line of the email.

&body=

The main message text body.
HTML ALLOWED.


Optional Parameters

&from=

Sender email address.

&from_name=

The friendly display name of the sender.

&to_name=

The friendly display name of the recipient
applies to the first valid address.

&reply_to=

Explicit Reply-To email address.

&cc=

Carbon Copy (CC) recipient addresses.

&bcc=

Blind Carbon Copy (BCC) recipient addresses.

&smtp_secure=

Set to ssl or tls depending on your server requirements, default tls.

&body_plain=

Alternative plain-text version
Defaults to stripping HTML tags from the main body.

&attach_name=

Custom file name for the attachment
Defaults to attachment.txt if omitted.

&attach_mime=

Explicit MIME type of the attached file
Auto-detected if omitted.