Easily send emails from ABAP using Custom utility class ZCL_SEND_MAIL
in the previous post,s I shared how to use CL_BCS class to send emails. and I also shared how to use cl_bcs_message class to send email in user-exit and BADI.
The standard libraries even though useful, are cumbersome to use so I have created a utility that combines the power of both CL_BCS and CL_BCS_MESSAGE to let you send an email with ease from anywhere in the system. Below are examples and source links to the utility class ZCL_SEND_MAIL
A simple example:
Sending email from user exit/Badi
Link to Source: ZCL_SEND_MAIL
As usual, Hope you like the post and use the information in your day to day work.