SMTP Component

Use this component to incorporate Simple Mail Transfer Protocol (SMTP) into your Studio solutions. For more information, see General Component Properties, Methods, and Events.

 

Properties

Property

Description

Body

The body text of the email.

From

The sender's email address.

FromName

The sender's name.

IsBodyHTML

Set to True if the body of the email message is in HTML format. (Boolean)

SmtpServerName

The name of the server through which mail is routed.

SmtpServerPort

The port through which mail is routed.

SmtpUserName

The user name for the SMTP server.

SmtpUserPassword

The password for the SMTP server.

Subject

The subject of the email.

To

The email address to which you are sending the note. To send the email note to more than one recipient, separate addresses using commas.

 

Methods

Method

Description

Parameters

Result Type

AddAttachment

Use this method to include an attachment with an email sent using the Send method.

String filename

Void

Send

Use this method to send an email via SMTP.

None

Void

 

Related information

Using the SMTP Component

 


Privacy | Trademarks | Terms of Use | Feedback

Updated: 18 June 2020

© 2016 - 2020 Pegasystems Inc.  Cambridge, MA All rights reserved.

 

OpenSpan data classification label