Table of Contents

Interface IEmailService

Namespace
Ando.Server.Services
Assembly
Ando.Server.dll

Service for sending email notifications.

public interface IEmailService

Methods

SendBuildFailedEmailAsync(Build, string)

Sends a build failure notification email.

Task SendBuildFailedEmailAsync(Build build, string recipientEmail)

Parameters

build Build

The failed build.

recipientEmail string

Email address to send to.

Returns

Task

SendEmailAsync(string, string, string)

Sends an email with the specified subject and HTML body.

Task SendEmailAsync(string to, string subject, string htmlBody)

Parameters

to string

Recipient email address.

subject string

Email subject.

htmlBody string

HTML body content.

Returns

Task