SEND MAIL π‘ BETA
SEND MAIL sends an email message.
Syntax
SEND MAIL "to@x.com", "subject", "body", "attachments"
Example
SEND MAIL "to@example.com", "Subject", "Body", ""
What it does
SEND MAIL takes four positional arguments: recipient, subject, body and attachments.
BEGIN MAIL / END MAIL
The runtime also recognises a block form for longer messages. Its exact syntax is defined by the mail keyword registration; the closed reference publishes only the four-argument call above.
Limits
- Registered with positional arguments only β the signature shown is the exact form; named arguments are not part of the keyword.
- Available only when the
mailCargo feature is enabled (botserver/src/basic/keywords/mod.rs). - There is no
SEND MAIL TO β¦ SUBJECT β¦ BODY β¦named-argument form (keyword_reference.rs).