SendMailHelper

Syntax

public class SendMailHelper

Constructors

public SendMailHelper();

Namespace and Assembly

Requirement Value

Namespace

Ascentn.Workflow.Base

Assembly

Ascentn.Workflow.WFBase (in Ascentn.Workflow.WFBase.dll)

Properties

Property Description

Attachments

Function:
File attachments included with the email.
Type
string
Accepted Values:
A valid path and file name on the AgilePoint Server.

This parameter must use a file path from the file system (for example, C:\file.txt) on the machine where AgilePoint Server is installed.

If there is no attachment, you can pass null or String.Empty.

Body

Function:
Specifies the body portion of an email.
Type
string
Accepted Values:
Free text.

CC

Function:
Specifies the CC portion of an email.
Type
string
Accepted Values:
A string that includes one or more email addresses in SMTP format.

From

Function:
Specifies the From portion of an email.
Type
string
Accepted Values:
A string that includes one or more email addresses in SMTP format.

Subject

Function:
The subject of an email.
Type
string
Accepted Values:
One line of text that can have spaces.

To

Function:
Specifies the To portion of an email.
Type
string
Accepted Values:
A string that includes one or more email addresses in SMTP format.