BuildMaster SDK Reference
Version:

EmailEventListenerBase Class

An event listener that provides additional email functionality

Inheritance Hierarchy

Syntax

public class EmailEventListenerBase : EventListenerBase, Inedo.Diagnostics.ILogger

Constructors

Name Description
EmailEventListenerBase

Properties

Name Description
EmailAddresses

Gets or sets the email addresses that instances may use to send out emails.

Methods

Name Description
ApplyBuildMasterEmailTemplate(string htmlBody)

Applies the build master email template.

GeneratePlainTextBodyFromHtml(string htmlEmailBody)

Generates the plain text from HTML.

GetDefaultEmailAddress

Gets the default email address of the event listener's owner.

GetDefaultEmailAddress(string username)

Gets the default email address of the specified username.

GetEmailAddresses

Gets the email addresses.

GetHtmlTemplateStream

Gets the HTML template stream used by the SendEmailFromTemplate method.

GetMailMessage(string subject, string htmlEmailBody, string plainTextBody)

Gets the mail message.

GetPlainTextBodyStream

Gets the plain-text body template stream used by the SendEmailFromTemplate method.

SendEmail(string subject, string htmlEmailBody)

Sends the email.

SendEmail(string subject, string htmlEmailBody, string plainTextBody)

Sends the email.

SendEmail(System.Net.Mail.MailMessage message)

Sends the email.

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

Sends a notification email with variable replacements.