BuildMaster SDK Reference
Version:

SendEmailFromTemplate(string subject, System.Collections.Generic.IDictionary<string, string> variableReplacements) Method

Sends a notification email with variable replacements.

Syntax

protected void SendEmailFromTemplate(string subject, IDictionary<string, string> variableReplacements)

Parameters

subject
Type: string

The subject.

variableReplacements
Type: System.Collections.Generic.IDictionary<string, string>

The variable replacements.

Remarks

The email HTML and plain-text bodies are loaded from embedded resources in the same path as the type of the EventListenerBase, and the namespace must match the folder path of both .txt and .html resources.