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: 

Send Blindcopy with cl_bcs

Former Member
0 Kudos
1,561

Dear all

simple question.... how can I send a blindcopy (BCC) using cl_bcs?

thank you

1 ACCEPTED SOLUTION

kesavadas_thekkillath
Active Contributor
0 Kudos
457

In the method ADD_RECIPIENT.

pass I_BLIND_COPY = 'X' and assign the email id to I_RECIPIENT

3 REPLIES 3

kesavadas_thekkillath
Active Contributor
0 Kudos
458

In the method ADD_RECIPIENT.

pass I_BLIND_COPY = 'X' and assign the email id to I_RECIPIENT

0 Kudos
457

how should this look like... ??

i have this code here for the To-Address:

  • ---------- add recipient (e-mail address) ----------------------

recipient = cl_cam_address_bcs=>create_internet_address(

i_address_string = zrepbase-smtp_addr ).

  • add recipient to send request

send_request->add_recipient( i_recipient = recipient ).

and for the BCC i'm not sure what I should do.... something like this????

  • ---------- add bcc (e-mail address) ----------------------

recipient_bcc = cl_cam_address_bcs=>create_internet_address(

i_address_string = zrepbase-smtp_addr ).

  • add bcc to send request

send_request->add_recipient( i_blind_copy = 'X' ).

0 Kudos
457

add bcc (e-mail address)

 recipient_bcc = cl_cam_address_bcs=>create_internet_address(
i_address_string = zrepbase-smtp_addr ).

* add bcc to send request
send_request->add_recipient( i_recipient = recipient_bcc 
                                                  i_blind_copy = 'X' ). "Also pass the recipient_bcc here