Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In this article

Table of Contents
minLevel1
maxLevel2
absoluteUrltrue

Overview

You can use this the account type to connect Email Snaps with data sources that use IMAP account.

Prerequisites

<To be verified with QA>

Limitations

<To be verified with QA>

Known Issues

<To be verified with QA>

Account Settings

<Insert image here>

Appsplus panel macro confluence macro
data{"features":["title","icon","rounded","collapsible","border"],"title":"Documenting Fields Based On Data Type/UI Element","titleColor":"#000000","titleColorBG":"#ff5c30","titleSize":"14","titleBold":true,"titleItalic":false,"titleUnderline":false,"lozenge":"Hot stuff","lozengeColor":"#172B4D","lozengeColorBG":"#fff0b3","height":200,"panelPadding":12,"panelColor":"#172B4D","panelColorBG":"#FFFFFF","borderColor":"#ff5c30","borderRadius":3,"borderStyle":"solid","borderWidth":1,"icon":"editor/info","iconPrimary":"#FFFFFF","iconSecondary":"#0052CC","newMacro":false}

**Delete Before Publishing**

Choose from the following sentences to document specific field types.

Drop-down lists/Option Buttons (radio buttons):

You must list the LoV and describe them if their meaning isn't apparent. In this case, format the LoV in italics, regular font for the LoV's description. In either case, list the LoVs as a bullet list.

  • <State what the should do in this field>. The available options are: <bullet list of LoVs>
    Specify the Salesforce API to be used. The available options are:...

  • Select the <category> that you want to use. Available options are...
    * Option 1<italicized>. <third person singular form of the verb>
    * Option 2<italicized>. <third person singular form of the verb>
    Select the API that you want to use. Available options are:
    Bulk API. Sends the Snap execution request details as a bulk API call.
    REST API. ...
    OR
    Select one of the three following modes in which the Snap executes:
    * Validate & Execute. Performs limited execution of the Snap and generates a data preview during Pipeline validation, then performs full execution of the Snap (unlimited records) during Pipeline runtime.
    * Execute only. Performs full execution of the Snap during Pipeline execution without generating preview data.
    * Disabled. Disables the Snap and all Snaps downstream from it.

Check boxes:

  • If selected, <Snap behavior>.
    If selected, an empty file is written when the incoming document has no data.

  • If selected, <behavior>. If not selected/Otherwise, <behavior>
    Use "If not selected" if the first sentence is long.
    If selected, the Snap uses the file path value as is. Otherwise, the Snap uses the file path value in the URL.
    If selected, an empty file is written when the incoming document has empty data. If there is no incoming document at the input view of the Snap, no file is written regardless of the value of the property.

  • Select to <action>
    Use this if the behavior is binary. Either this or that, where the converse behavior is apparent/obvious.
    Select to execute the Pipeline during validation.

Text Fields

  • Describe what the user shall specify in this field. Additional details, as applicable, in a separate sentence. Include caveats such as the field being conditionally mandatory, limitations, etc.
    Enter the name for new account.
    Specify the account ID to use to log in to the endpoint.
    Required if IAM Role is selected.
    Do not use this field if you are using batch processing.

Numeric Text Fields

  • Describe what the field represents/contains. Additional details, as applicable, in a separate sentence. Include caveats such as the field being conditionally mandatory, limitations, etc. Include special values that impact the field's behavior as a bullet list.
    The number of records in a batch.
    The number of seconds for which you want the Snap to wait between retries.
    The number of seconds for which the Snap waits between retries.
    Use the following special values:
    * 0: Disables batching.
    * 1: Includes all documents in a single request.

Notes in field descriptions

  • Confluence’s new editor does not allow nesting of most macros inside another macro, especially the Note/Alert/Warning/Info (Panel) macros inside a table macro and Excerpt macros inside Expand or Panel Macro+ macros. So, as a workaround use the Footnotes approach as mentioned below:

    • Assign numbers at the Note locations in the form of follow through phrases like See Note 2 below this table. or such.

    • Add your Notes---an appropriate Note/Alert/Warning/Info (Panel) macro---immediately below the macro (for example, Table macro) beginning the content with the corresponding number assigned.

, POP3, and SMTP accounts. The different account types and the supported Email Snaps are listed below:

  • IMAP - Email Reader, Email Delete, and Email Archive Snaps.

  • POP3 - Email Reader and Email Delete. 

  • SMTP - Email Sender.

Info

Ask your email administrator which option is best for you to use. Account settings are common for all the three accounts.

Limitations

  • If using Gmail, you may need to turn on the option to allow less secure apps to access your account within Gmail. See Less secure apps & your Google Account - Google Account Help for more information.

  • Due to the anti-email-hijacking policies of webmail servers, the Email Snaps often fail to perform as expected.

  • It is a trend for webmail servers, such as Gmail, Yahoo, Hotmail, and so on to enforce their security policy increasingly against all email client applications which access email accounts through email API (SMTP, IMAP), other than web browsers, if the client applications access from a geographical location far from usual locations of the web browser logins. The Email Snaps are often classified as suspicious email hijacker since the Snaps try to access the email server from AWS, a location different from usual web browser logins of users. Sometimes, users can find additional information in the emails from the mail servers or in the security page of the account. The Email Snaps function well as expected if their accounts are not from webmail servers.

Known Issues

None.

Account Settings

...

Info
  • Asterisk (*): Indicates a mandatory field.

  • Suggestion icon ((blue star)): Indicates a list that is dynamically populated based on the configuration.

  • Expression icon ((blue star)): Indicates whether the value is an expression (if enabled) or a static value (if disabled). Learn more about Using Expressions in SnapLogic.

  • Add icon ((blue star)): Indicates that you can add fields in the fieldsetfield set.

  • Remove icon ((blue star)): Indicates that you can remove fields from the fieldsetthe field set.

The fields available for all the account configurations are the same.

Info

SMTP accounts cannot be validated before sending any email due to the nature of the SMTP Servers. Therefore, no Validate button is provided in SMTP accounts.

Field Name

Field Type

Field Dependency

Description

Label*

Default Value:

 ELT Database Account

 None
Example

ELT RS

IMAP Account

String

None.

Enter

Specify a unique label for the account.

Email ID

Default Value: None
Example: johndoe@example.com

Field set

String

Specify

advanced parameters that you want to include in the request.

This field set consists of the following fields:

  • Field 1

  • Field 2

  • Field 3

Field 1

the email ID to use for this account.

Password

Default ValueNone
Example: o8jkll0#

String

Specify the the password for the account.

For a Gmail account, specify an application password instead of the email password.

Learn more about Email Snaps and Gmail.

Server domain*

Default ValueNone
Example: imap.example.com

String

Specify the name of the server domain. 

Configure this field with outlook.office365.com when using the Outlook IMAP Email account.

Port*

Default ValueNone
Example: 993

Integer

Specify the port number of the email server. This will vary depending on your mail provider and the Secure connection selected.

The default port for IMAP is 993.

Secure connection*

Default Value: 

String

Debug mode checkbox is not selected.

Field 2

None
Example: SSL

Dropdown list

Select how the secure connection to the email server should be initiated. Options available include:

  • STARTTLS: Connects to the standard IMAP port and then upgrades the connection to TLS (certified version is TLS 1.2).

  • SSL: If enabled on your server domain, creates a secure connection.

  • NONE: Used if a secure connection is not configured.

Attachment password

Default ValueNone
Example:

 

 o8jkll0#

String

None

Specify the password for attachment URL.

Troubleshooting

...

Error

...

Reason

...

Resolution

...

Account validation failed.

...

The Pipeline ended before the batch could complete execution due to a connection error.

...

Verify that the Refresh token field is configured to handle the inputs properly. If you are not sure when the input data is available, configure this field as zero to keep the connection always open.

...

...

Endpoint Doc Link 1

...

Endpoint Doc Link 2

...

Endpoint Doc Link 3

...

SnapLogic Glossary

...

Getting Started with SnapLogic

...

Connection timeout

Default Value: 60000
Example: 50000

Integer

Specify the time duration in milliseconds, in the event of a connection error, after which the server will not try reconnecting. 

Read Timeout

Default Value: 60000
Example: 50000

Integer

Specify the time duration in milliseconds, in the event of a read error, after which the server will not try to read the data. 

Write Timeout

Default Value: 60000
Example: 50000

Integer

Specify the time duration in milliseconds, in the event of a write error, after which the server will not try to write the data. 

Mail properties

Use this field set to configure advanced parameters that you want to include in the request.

Mail property name

Default Value: None
Examplemail.imaps.auth.plain.disable

String

Specify the name of the mail property.

Mail property value

Default Value: None
Exampletrue

String

Specify the mail property value associated with the mail property name.

Snap Pack History

Expand

Multiexcerpt include macro
nameEmail_SPH
templateData[]
pageEmail Snap Pack
addpanelfalse