Application Development and Automation 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: 
Read only

CL_BCS.

Former Member
0 Likes
429

Hi all,

I am  using CL_BCS for sending the mail but if i mention TO and CC the same mail address

then it will take the first one TO ,but i want the mail address to available in both in TO and CC .

can i know how to send the mail containing the same mail address both in TO and CC

"Email TO...

       gv_email = 'email@adrs.co.in'.

       gr_recipient = cl_cam_address_bcs=>create_internet_address( gv_email ).

       "Add recipient to send request

       CALL METHOD gr_send_request->add_recipient

         EXPORTING

           i_recipient = gr_recipient

           i_express   = 'X' .


"EMAIL CC

        gv_email = 'email@adrs.co.in'.

       gr_recipient = cl_cam_address_bcs=>create_internet_address( gv_email ).

       "Add recipient to send request

       CALL METHOD gr_send_request->add_recipient

         EXPORTING

           i_recipient = gr_recipient

           i_express   = 'X'

           i_copy       = 'X'.

even though i am having the same mail address in TO and CC i am getting the mail address in only To but not CC.

but my requirement is the mail address to be available in both TO  and CC .

REGARDS

     ARPIT

1 REPLY 1
Read only

tolga_polat
Active Participant
0 Likes
332

When you add e-mail address to 'CC'

try this :

       CALL METHOD gr_send_request->add_recipient

         EXPORTING

           i_recipient = gr_recipient

           i_express   = space

           i_copy       = 'X'.