EmailMessage
id: py-EmailMessage
EmailMessage
Email structure used with Email.send().
At a Glance
Email.send({
"Subject": "Hello from layline.io",
"Body": "This is the email body."
})
Properties
To / Cc / Bcc
Array of recipient objects, each with Address and PersonalName.
| Property | Type | Description |
|---|---|---|
Address | str | Email address |
PersonalName | str | Display name |
"To": [
]
ToList / CcList / BccList
Comma or semicolon separated string of email addresses. Use as a shortcut when you don't need display names.
From
Array of sender objects with the same structure as To.
Subject
str — The email subject line.
Body
str — The email body content.