Multiple Recipients — Valid and Invalid Addresses (POST Method)

If you send an email to multiple addresses and some are syntactically malformed, the gateway does not block delivery to the valid addresses. It processes the valid ones and responds with two distinct AT#LOG entries combined within the same server header.

at#http=POST,https://contriveiot.eu/sm

?imei=$N14

&webid=$D13

&smtp_host=smtp.example.com

&smtp_port=587

&smtp_user=user@example.com

&smtp_pass=YOUR_PASS

&from=device@example.com

&to=test@example.com;invalid_address_here

&subject=Test

&body=Hello

,S:LOGS/answers.txt


Optional Parameters Omitted

  • from_name
  • to_name
  • reply_to
  • cc
  • bcc
  • body_plain
  • attach_name 1
  • attach_mime 2


1 Automatically defaults the filename to attachment.

2 Auto-detects MIME type: text → .txt  and binary → .bin.


Result recorded in LOG file

ok+attach:attachment.txt|1782720775|test@example.com" 

AT#LOG="invalid|1782720775|invalid_address_here

Absolute Delivery Failure — All Addresses Invalid

If none of the provided recipient addresses pass syntax validation, no email is dispatched.