Tuesday, February 22, 2022

Sender Mail Adapter - Basics

Sender Email Adapter:

Download e-mails from mailboxes using IMAP or POP3 protocol.
Can access contents of mail body.
Access email attachments.

To access the mail attributes/Headers like (Subject, From, To) , we have to allow these headers in the Runtime Configuration... in order to whitelist them.

To access the attachments, Script has to be used.

No functionality to authenticate the sender of an e-mail.

--------------------------------------------------------------

Sender email adapter:

















































































Parameters:

Address:
  • 143 for IMAP+STARTTLS 
  •  993 for IMAPS 
  •  110 for POP3+STARTTLS 
  •  995 for POP3S

Proxy Type:

Select None if you are connecting directly to the email server.
Select On-Premise if you are connecting to on-premise system.

Location ID (only if On-Premise is selected for Proxy Type) :
To connect to an SAP Cloud Connector instance associated with your account, enter the location ID that you defined for this instance in the destination configuration on the cloud side, 
or enter ${header.headername} to dynamically read the value from a header.

Protection 
Specifies the method to use to establish an encrypted (secure) connection. 

  •   Off No encryption is initiated by the client. 
  •  POP3S (only when transport protocol POP3 has been selected when creating the channel) The TCP connection to the server is encrypted. The S (in POP3S) stands for secure; in technical terms, TLS encryption is applied in that case. 
  •  IMAPS (only when transport protocol IMAP4 has been selected when creating the channel) The TCP connection to the server is encrypted. The S (in IMAPS) stands for secure; in technical terms, TLS encryption is applied in that case. 
  •  STARTTTLS Mandatory If the server supports STARTTLS, the client initiates encryption using TLS. If the server does not support this option, the connection stops with an error.
  •  STARTTTLS Optional If the server supports STARTTLS, the client initiates encryption using TLS. If the server does not support this option, client and server remain connected but communicate without encryption.

Authentication :

Specifies which mechanism is used to protect user name and password combination. 

  •  Plain User Name/Password The user name and password are sent in plain text. You should only use this option together with SSL or TLS, as otherwise an attacker could obtain the password. 
  •  Encrypted User/Password The user name and password are hashed before being sent to the server. This authentication mechanism (CRAM-MD5 and DIGEST-MD5) is secure even without encryption. 


Folder : Specify the IMAP folder containing the mails to be read
(only if as Transport Protocol the option IMAP4 has been selected)

Selection :  Specify which mails will be processed (all mails or only unread ones).
(only if as Transport Protocol the option IMAP4 has been selected)

Post-Processing :

Specify how to handle processed mails on the server.

Note: If Post-Processing is set to Mark as Read and the poll strategy is set to poll for all mails (Selection: All), then already processed mails will be processed again at every polling interval




No comments:

Post a Comment