Workflow and ServiceDesk Community

 View Only

IMAP4 Get By Id 

Jun 13, 2012 09:49 AM

Component definition

This component downloads a specific email from your IMAP4 server. You identify the email by the email identification number (ID).

 

Component icon

IMAP4GetByID.png

 

Definition of component input value or values

Table: Input values
Input value name Input value data type Example format
[Input 1: Email ID] [Variable (Int32)] [10011]
[Input 2: Folder] [Variable (String)] [Inbox]
[Input 3: Mark As Read] [Variable (Boolean)] [True]
[Input 4: Server Name] [Variable (String)] [mail.acme.com]
[Input 5: Server Port] [Variable (Int32)] [993]
[Input 6: Use SSL] [Variable (Boolean)] [True]
[Input 7: User Name] [Variable (String)] [j_doe]
[Input 8: User Password] [Variable (String)] [***********]
[Input 9: Log File] [Variable (String)] [C:\EmailLog.log]

 

Definition of component output values

Output value name Output value data type Example format
[Result Variable Name] [Variable (String)] [out_email]
[Output Result Variable] [EmailDataType]  

 

Component Output settings

Value name Value data type Example format
[Body Type to Get] [Variable (String)] [Either]
[Remove Formatting] [Variable (Boolean)] [False]
[Output Embedded Images] [Variable (Boolean)] [False]

 

Use case

You have an email account that is populated with automatic notification emails from various sources. You want to poll this email account periodically, retrieve all unread messages (mark those read) and then do some processing with the contents of those emails.

 

[Example 1]

First use the "IMAP 4 List" Component to retrieve all the headers of the unread emails in the target email account. Then loop through this array of email headers (each header contains the email's Id) and then retrieve each individual email with the "IMAP 4 Get By Id" component.

Statistics
0 Favorited
0 Views
0 Files
0 Shares
0 Downloads

Tags and Keywords

Related Entries and Links

No Related Resource entered.