Wednesday, 16 May 2018

SAP PI Mail Adapter FAQ's

Sender Connection

Q: My mail messages seem to be read by the adapter however not being processed and there is no message is visible in the message monitor.
A: Please check the adapter monitor in Runtime Workbench. You can find your mail sender channel under the Mail adapter. The detail text of the channel will ideally explain the entire issue.

Sender with XIALL

Q: I’m getting few exceptions and my mail message is not getting processed.
A: Please have a look at the status of your channel in the adapter monitor. The status of the adapter monitor is typically updated for each polling cycle. You should verify the status post a new message is picked up by your channel. You will be able to figure out the if the problem is due to some communication problem with the mail server or to some mail format problem, from this status message.

Sender with XIPAYLOAD

Q: How can the user get the original sender email address and subject, etc?
A: The user would be required to use the mail package option for getting mail transport specific information in the XI payload. In SP14, there will be a new mechanism for transport related information for all the adapters.
Read more here SAP PI Tutorial
Q: How to use the MailPackage in Sender?
A: When a mail message is fetched by the sender adapter, generally the content of the mail is kept in the XI payload. This refers to that the mail header information such as "From", "To", "Subject" has not been imported into the XI payload. When the MailPackage mode is utilized, the adapter constructs an XML document comprising of these header entries and the content.
The mail package is a deprecated feature which is supported for the existing scenarios and the asma attribtues should be utilized for the new scenarios

Sender Asynchronous Calls

Q: What all is offered by a sender channel configured as ExactlyOnce or ExactlyOnceInOrder?
A: The quality of service setting in the sender channel does not relate to the fact that this quality of service is automatically provided between the mail server and the XI system. The setting only permits the adapter to call some XI asynchronous receiver and the specified quality of service is provided between the receiving component and the adapter engine. If some error takes place
Other Sender related Questions
Q: My mail messages are not picked up.
A: The mail sender channel with IMAP4 gets only the unread messages from the specified mail box in the order in which they have been stored. Hence, please ensure that you have some unread messages in the top of the list (incase ordered by most recent on top). Post a polling cycle, the user can look at the status of this channel at the adapter's monitor. This would display any error in case the messages are not being processed correctly. Once the messages have been read however processed incorrectly, they will remain in the mail box but are not being read in the subsequent polling cycle. The user has to rectify the problem and delete these messages by using his mail client program or can even reset them as unread so that these can be resent.

The channel with POP3 gets all messages from the specified mail box in the same order they have been stored. Post a polling cycle, the user can verify the status of this channel at the monitor of the adapter. This should display any error in case the messages are not processed appropriately. Once the messages have been read but not processed correctly, they will remain in the mail box and read again in the subsequent polling cycle. If the problem is permanent, user should correct the problem or delete these messages by utilizing his mail client program.
Read more here SAP PI Mail Adapter Questions & Answers

No comments:

Post a Comment