ExtractMailMessage

Estimated reading: 3 minutes 1819 views

This activity enables the extraction of details using the “Mail message” or the “MailItem” from the specified account name in Outlook.

Properties

INPUT

AttachmentPath:* This parameter specifies the “Path” to save the attachments extracted from the “MailMessage” or “MailItem.”
This parameter accepts values in “String” datatype. You can either hardcode the values in “String” datatype or can enter the values in “String”.

InputPath: It specifies the “Input path” where the mail message is stored in the system. Use this option when the “InputType” is selected as “MSG_File.”
This parameter accepts values in “String” datatype. You can either hardcode the values in “String” datatype or can enter the values in “String”.

InputType:* Select the input type from the dropdown:
MailItem: This option refers to the “MailItem” variable declared as an output in the “ReadMail” activity. Use this type to extract details and attachments from the “MailItem” variable.
MSG_File: This option pertains to the “MailMessage” file. Utilize this type to extract details and attachments from the “MailMessage.”By default, the type is set to “MSG_File.”

MailItem:* 
Specify the “MailItem” variable (which will be declared in the “Read Mail” activity) to extract the emails from the provided “list.”

MISC

DisplayName: Displays the name of the activity. The activity name can be customized, which aids in troubleshooting.

SkipOnError: Specify the “Boolean” value as “True” or “False.”
True: Continue executing the workflow regardless of any errors thrown.
False:
 Halt the workflow if it encounters any errors.
None:
 If the option is left blank, the activity will, by default, behave as if “False” were chosen.
Version: 
It indicates the version of the feature being used.

OUTPUT

AttachmentList: This feature aids in storing and viewing the extracted attachments as an “Output” of the activity in a “list” datatype from the email.

CCList: This functionality allows you to view the “CC List” as an output of the activity in a “list” datatype, extracted from the email.

FromMailID: This feature enables you to view the “FromMailID” as an output of the activity in the “String” datatype, extracted from the email.

IsHadAttachment: This parameter helps to return the output of the activity to validate whether the mails have attachment. This field returns the value in “Boolean” datatype.
Yes – The provided “MailMessage” or “Mailitem” contains attachment.
No – The provided “MailMessage” or “Mailitem” does not contain any attachments.

MailBody: This feature enables you to view the “MailBody” as an output of the activity in the “String” datatype, extracted from the email.

MailSenderName:This feature enables you to view the “MailSenderName” as an output of the activity in the “String” datatype, extracted from the email.

MailSubject: It helps to view the output of the activity as “MailSubject” extracted from the mails. This field returns the values in the “String” datatype.

ReceivedDateTime: This feature enables you to view the “ReceivedDateTime” as an output of the activity in the “DateTime” datatype, extracted from the email.

ToList: It helps to view the output of the activity as “ToList” extracted from the mails. This field returns the values in the “List of String” datatype.
* Represents mandatory fields to execute the workflow.

Share this Doc

ExtractMailMessage

Or copy link

CONTENTS