Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to Add CC in below code with example.

ar05012017
Explorer
0 Kudos

how to add CC in recipient email addr.

CALL METHOD cl_cam_address_bcs=>create_internet_address

EXPORTING
i_address_string = '123@abc.com'
RECEIVING
result = lr_receiver.

CALL METHOD lo_bcs->add_recipient
EXPORTING
i_recipient = lr_receiver
i_express = 'X'.

lo_bcs->set_send_immediately( 'X' ).

2 REPLIES 2

ar05012017
Explorer
0 Kudos

dear Friends,

i want to send mail to multiple user. can anyone guide me with example.

raymond_giuseppi
Active Contributor

Replace I_EXPRESS with I_COPY in another call of CL_BCS->ADD_RECIPIENT.