INotifications.SendEmail
method · INotifications · cAlgo.API.Internals
DesktopCLICloud
Sends a notification email message.
Environment behaviour
Cloud — not supported. No email is sent and nothing is logged. No error is reported.
Definition
void SendEmail(string from, string to, string subject, string text)
api.Notifications.SendEmail(from: str, to: str, subject: str, text: str) -> None
Parameters
| Name | C# type | Python type | Description |
|---|---|---|---|
from | string | str | Sender's Address |
to | string | str | Recipient's Address |
subject | string | str | Email Subject |
text | string | str | Email Body |
Examples
Notifications.SendEmail("from@email.com", "to@email.com",
"Email Notification Subject", "Email body");
api.Notifications.SendEmail("from@email.com", "to@email.com",
"Email Notification Subject", "Email body")