Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

Status notifications for emails sent with CL_BCS

$
0
0

Hello,

 

When sending an email with the CL_BCS-class, it's possible to set the statuses for which you want to receive a notification. Method SET_STATUS_ATTRIBUTES of the CL_BCS-class serves this purpose.

 

Something like:
business_communication_service->set_status_attributes( i_requested_status = 'A' i_status_mail = 'A' ).

 

I've succeeded in asking and receiving read-confirmations per email when i send to an existing emailaddress. But read notifications are actually a bit annoying, i only need error notifications when an email couldnot be delivered. So when i send email to a bullocks address, i would expect a Delivery-Failed-notification from the Postmaster. But that...is just not happening.

 

Does someone have suggestions how to get the error and failed delivery notifications, when sending email with the CL_BCS class? Setting the i_requested_status to 'E' in the example above wouldn't do the trick.

 

Thanks in advance,

 

 

Niels


Viewing all articles
Browse latest Browse all 8332

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>