Salesforce

Email - Methods (Magic xpi 4.13)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

Email – Methods

Use the following methods to configure the Email component:

The table below lists the methods and parameters that can be used. Parameters in bold are mandatory.

Name

Parameters

Description

Quick Send opens the connection, sends an email message, and then closes the connection.

To

Enter the receiver's email address.

CC

Enter any copied receiver's email address. Multiple addresses must be separated by commas without spaces.

BCC

Enter a blind-copied receiver's email address. Multiple addresses must be separated by commas without spaces.

Subject

Enter the subject of the email message.

Body

Enter the email message text.

BodyType

Specify the email body type, either Plain Text or HTML.

Attachment

Enter the path to any attachments for the email message. If there is more than one attachment, you must separate them with commas without spaces.

The attachment path can contain up to 5000 characters.

Error Code

Returns an email error code.

Click to open the Variables List. Select a variable where the error code is returned, and then click Select.

Quick Receive opens the connection, receives an email message and then closes the connection.

Max Mails

Enter the maximum number of email messages that can be received.

When no value is set, all emails on the server will be received.

Timeout

Enter the amount of time (in seconds) that the server will wait before moving to the next step.

From Filter

Indicate which email addresses to filter in the From field.

To Filter

Indicate which email addresses to filter in the To field.

CC Filter

Indicate which email addresses to filter in the CC field.

BCC Filter

Indicate which email addresses to filter in the BCC field. This parameter is available only when you use an IMAP server.

Subject Filter

Indicate subjects or words to filter in the Subject field.

Body Filter

Indicate subjects or words to filter in the email message.

Leave on Server

Indicate whether the email message remains on the server after it is received.

Result XML

Returns the received output in XML format.

Error Code

Returns an email error code.

Click to open the Variables List. Select a variable where the error code is returned, and then click Select.

Connect Send opens a connection for sending an email message.

Error Code

Returns an email error code.

Click to open the Variables List. Select a variable where the error code is returned, and then click Select.

Connect Receive opens a connection for receiving an email message.

Timeout

Enter the amount of time (in seconds) that the server will wait before moving to the next step.

Leave on Server

Indicate whether the email message remains on the server after it is received.

No. of Mails

Returns the number of received email messages.

Error Code

Returns an email error code.

Click to open the Variables List. Select a variable where the error code is returned, and then click Select.

Disconnect closes the connection when sending or receiving an email message.

Error Code

Returns an email error code.

Click to open the Variables List. Select a variable where the error code is returned, and then click Select.

Send lets you send an email message.

To

Enter the receiver's email address.

CC

Enter any copied receiver's email address. Multiple addresses must be separated by commas without spaces.

BCC

Enter a blind-copied receiver's email address. Multiple addresses must be separated by commas without spaces.

Subject

Enter the subject of the email message.

Body

Enter the email message text.

BodyType

Specify the email body type, either Plain Text or HTML.

Attachment

List any attachments for the email. If there is more than one attachment, you must separate them with commas without spaces.

Error Code

Returns an email error code.

Click to open the Variables List. Select a variable where the error code is returned, and then click Select.

Receive lets you receive an email message.

Max Mails

Enter the maximum number of email messages that can be received.

When no value is set, all emails on the server will be received.

From Filter

Indicate which email addresses to filter in the From field.

To Filter

Indicate which email addresses to filter in the To field.

CC Filter

Indicate which email addresses to filter in the CC field.

BCC Filter

Indicate which email addresses to filter in the BCC field. This parameter is available only when you use an IMAP server.

Subject Filter

Indicate subjects or words to filter in the Subject field.

Body Filter

Indicate subjects or words to filter in the email message.

Result XML

Returns the received output in XML format.

Error Code

Returns an email error code.

Click to open the Variables List. Select a variable where the error code is returned, and then click Select.

Related Topics

How to Use Direct Access Methods

Reference
Attachment 
Attachment