Show TOC Start of Content Area

Procedure documentation Administering the Bounced Mail Framework  Locate the document in its SAP Library structure

Use

The Bounced Mail Framework (BMF) is designed to manage bounced mails during communication between a customer client application and an external system.

Note

A bounced mail is a notification message returned to the sender when there are problems with mail delivery, for example, when a mail recipient is invalid, the mail quota is exceeded, or the host is not found.

Processing Outgoing Mails

The BMF handles all mail messages that a client application sends. If outgoing mail filtering is enabled, the BMF checks the address and continues processing only if the address is a trusted one:

...

       1.      The BMF assigns an ID to the message From and Subject fields and records additional data about the sent mail in its database.

       2.      The BMF assigns the status Sent to the message.

The status can change later depending on the message reply.

       3.      The BMF sends the message to the relevant external system and waits for a response.

Processing Incoming Mails

...

       1.      In the standard configuration, the BMF expects and receives a response from the external system.

       2.      If incoming mail filtering is enabled, the BMF checks the received mail address and forwards the mail to the client application only if it is a trusted one. The client application processes the mail and sends the result back to the BMF.

       3.      At the same time, the BMF analyzes the incoming mail as follows:

                            a.      The BMF maps incoming messages to the outgoing mails stored in its database using the ID assigned previously. If the incoming mail matches a stored message, the BMF tries to find a rejection reason. Otherwise, its flags the mail as Unrecognized.

                            b.      If the mail is recognized, the BMF tries to identify the rejection reason using patterns.

       4.      The BMF changes the status of the original outgoing mail according to the result of the client application processing, mail mapping, and rejection reason identification. It also executes the action groups defined for the corresponding client application. Each action group contains simple actions, which are executed one by one.

Mail Statuses

BMF assigns different mail statuses to outgoing mail messages depending on the reply from external systems.

More information: Mail Statuses

Procedure

The following procedure outlines the basic steps to configure, manage, and use the BMF.

1. Set Up the Framework

...

To enable a client application to use the BMF, you must first configure the BMF mail-sending options in the Config tool.

More information: Configuring the Bounced Mails Framework

2. Set Up and Manage Client Applications

Set up a client application to use the BMF by creating a client application ID. Once you register and configure the application, all incoming and outgoing mail messages are controlled by the BMF.

More information: Setting Up Client Applications

Optional: Clean Up the BMF Database

You can configure the BMF to clean up messages from its database by moving them to Statistics periodically.

More information: Cleaning Up the BMF Database

Optional: View Statistics

You can see detailed statistics for the mails processed by the BMF over a specified period of time.

More information: Viewing Statistics

End of Content Area