SendEmail


Summary

Sends a notification email message.

Remarks

This method doesn't work during backtesting and optimization. Use correct settings before trying to send an email notification. You can do that in Preferences -> Email Settings

Syntax

public void SendEmail(string from, string to, string subject, string text)

Parameters

NameDescription

Example 1

Notifications.SendEmail("from@email.com", "to@email.com",
            "Email Notification Subject", "Email body");
Reference