One email for mail_send.
from and each address in to, cc and bcc are the envelope addresses, usually written in angle brackets such as
<[email protected]>. At least one recipient across the three lists is needed, and bcc recipients get the message without
being named in its headers. body is sent as UTF-8 text, or as HTML when html is set. Each entry of attachments
is the path of a file that is read when the message is sent and added as a base64 attachment. Headers (from,
reply_to, subject, the recipients) may not contain NUL, CR or LF. The strings are borrowed and never freed.
Fields
- from: string
- reply_to: string
- to: [] string
- cc: [] string
- bcc: [] string
- subject: string
- body: string
- attachments: [] string
- html: bool