• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

riyaz.net

Tech Tips and Tutorials for SAP Professionals and Bloggers

  • Home
  • WordPress
  • Tips & Tricks
  • Internet
  • SAP
    • SAP PI
    • SAP ABAP
  • Personal Finance
  • Health & Fitness
  • Travel & Leisure
You are here: Home / SAP / XI/PI: Configuring the Sender Mail Adapter

XI/PI: Configuring the Sender Mail Adapter

February 27, 2008 by Riyaz

We have earlier discussed how to configure receiver mail adapter to be able to send emails from SAP XI. In this article, let us understand the configuration of Sender Mail Adapter. Sender Mail Adapter is used to collect emails from an email server and convert them to XML messages so as to process them in XI Integration Engine.

Configuring the Sender Mail Adapter

The adapter supports POP3 as well as IMAP4 protocols. You need to specify the connection parameters for the mail server. Specify the Mail server URLs depending upon the transport protocol (POP2 or IMPA4) in the format given below:

pop://EmailServer or imap://EmailServer/UserInbox

Select the ‘Use Mail package’ indicator if you want to receive the email along with header information (like sender, receiver, subject etc) as payload. If you don’t check this box, you will only receive email content as your payload. You can specify the content encoding as required. If you do not choose any, the message will be transferred as it is.

If you want to preserve the attachments, select the ‘Keep Attachments’ checkbox. All the three Quality of Service (BE, EO, EOIO) are supported. Specify QoS as per your scenario. Provide the name and namespace of the outbound interface from Integration Repository that should handle the further processing of the converted XML message and you are done.

Specify the poll interval i.e. the time interval between two attempts by XI to check for any new messages. Once active, the adapter will start polling the Email Server. The adjoining figure shows a typical configuration of Sender Mail Adapter.

Say your email inbox receives an email shown below.

Once XI polls the server, the email will be picked up and processed by the adapter engine. The figure below shows the resulting XML payload after processing by the adapter engine.

Thus, we are done with configuration of sender mail adapter. If the email is received in rich-text or HTML format the same is sent in the form of a SOAP attachment along with the message payload. We can see this using transaction SXMB_MONI or SXI_MONITOR.

Also Read:

  • Configuring Receiver Mail Adapter

Filed Under: SAP Tagged With: SAP PI

About Riyaz

Riyaz Sayyad is the founder of Riz Labs. Learn more about him here.

Primary Sidebar

Popular Guides

  • Dropbox Tutorial
  • CDN Setup Guide
  • Blog Design Tips
  • Optimize RSS Feed
  • Create Twitter App
  • Short URLs
  • Password Protect Folders
  • Time Management
  • ALE IDocs Tutorial
  • SAP PI Starter Kit
  • SAP PI Tips
  • Ergonomics

Popular Topics

  • Home
  • WordPress
  • Tips & Tricks
  • Internet
  • SAP
    • SAP PI
    • SAP ABAP
  • Personal Finance
  • Health & Fitness
  • Travel & Leisure

About Riyaz

riyaz.net is a popular technology site with how-to guides, tips and tutorials on personal technology, blogging, social media, web apps, personal finance and SAP.

riyaz.net was launched way back in 2005 by web designer, blogger and SAP Consultant Riyaz Sayyad from Pune, India. Over the years the site has grown into a full featured online community with thousands of visitors daily from around the world. Read more.

Copyright © 2025 · riyaz.net