NotificationEmail
QuantConnect.Notifications.NotificationEmail
NotificationEmail(
address: str,
subject: str = ...,
message: str = ...,
data: str = ...,
headers: Dictionary[str, str] = None,
)
Bases: Notification
Email notification data.
Default constructor for sending an email notification
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
address
|
str
|
Address to send to, if null will default to users email. Will throw ArgumentException if invalid Validate.EmailAddress |
required |
subject
|
str
|
Subject of the email. Will set to string.Empty if null |
...
|
message
|
str
|
Message body of the email. Will set to string.Empty if null |
...
|
data
|
str
|
Data to attach to the email. Will set to string.Empty if null |
...
|
headers
|
Dictionary[str, str]
|
Optional email headers to use |
None
|
headers
headers: Dictionary[str, str]
Optional email headers
address
address: str
Send to address:
subject
subject: str
Email subject
message
message: str
Message to send.
data
data: str
Email Data
send
send() -> None
Method for sending implementations of notification object types.