Python SDK
Send Mail
How to send mail using the WaveAssist SDK
Learn how to send emails using the WaveAssist SDK.
Basic Usage
Function Parameters
Parameter | Type | Description |
---|---|---|
subject | str | Subject line of the email |
html_content | str | HTML content of the email body |
attachment_file | Optional[file] | File object opened in binary mode (‘rb’) to attach to the email (optional) |
Example with Custom Content
Parameter | Type | Required | Description |
---|---|---|---|
subject | str | Yes | Subject line of the email |
html_content | str | Yes | HTML content of the email body |
attachment_file | file | No | File object opened in binary mode (‘rb’) to attach to the email |