CL_BCS Mail not send for CC

Hello Experts,
I am sending the notification email in CRM using cl_bcs class and this mail should be send to "TO" and "CC" of this i am using add_recipient method of cl_bcs.
*     Add  TO recipient with its respective attributes to send request
l_recipient = cl_cam_address_bcs=>create_internet_address( l_addr-e_mail ).
                          CALL METHOD l_send_request->add_recipient
                            EXPORTING
                              i_recipient = l_recipient
                              i_express   = abap_true.
*     Add CC recipient with its respective attributes to send request
                           l_recipient = cl_cam_address_bcs=>create_internet_address( l_addr-e_mail ).
                          CALL METHOD l_send_request->add_recipient
                            EXPORTING
                              i_recipient = l_recipient
                              i_copy      = abap_true.
Now when the "TO" and "CC" email id are different then it work fine. But issues comes when "TO" and "CC" email are same then it sends the email only to "TO". In SOST also i can see only one entry. I think it somewhere check if TO and CC emails are same then it delete the entry OR is there any attribute i need to set so that mail can be send for this scenario.

Hello Hemant,
If you test with the BCS example program BCS_EXAMPLE_4, you can see that
duplicate recipient will be removed.
This is a standard behavior.
Thanks & Regards,
Rajesh

Similar Messages

  • Mail not sending for ONLY MacBooks

    Here is a strange one.
    Mac OSX Snow Leopard Server.
    Apple Mail app on clients.
    Desktops, iPhone, iPad can send and reveive email from outside the network.
    MacBooks                 cannot send and reveive email from outside the network.
    All thoughts very welcome, thank you.
    James R for GeoffC

    From the errant clients: use Connection Doctor (Mail.app > Window > Connection Doctor) to test the access.
    From the server: Review the mail server log activity around the time of the failures (SMTP server log, POP/IMAP server log, and — if nothing is showing up there — your gateway and any local or gateway firewall logs), perform the usual SMTP/ESMTP server and POP/IMAP server settings comparisons, get off of port TCP 25 for submitting mail from clients, and stay out of 192.168.0.0/24 and 192.168.1.0/24 if any VPNs are in use.
    More advanced: Test a connection to port 25 or whatever you're using as a submission port from the remote network, too.  You can use telnet or the openssl s_client to connect into the target port (cleartext or SSL/TLS) and verify connectivity.  (Though Connection Doctor will usually tell you about this.)
    Once you figure out one of the misbehaving Mail.app clients, you'll probably have the rest sorted out, too.

  • Mail receives OK but will not send for smtp account.  Exchange server receives/sends OK

    mail receives OK but will not send for smtp account.  Exchange server receives/sends OK  I'm away from home, using a family-member's wireless network that has always worked OK in the past.  Today, the same problem occured while waiting in a hospital waiting lounge.  Any ideas?

    The outgoing mail server may be rejecting mail from your network address. Typically that happens when your mail service provider is also your ISP, and you connect to it from another network. The SMTP server will allow connections without a password from anywhere, but it will only relay mail from within the ISP's network. It could also be that your account on the server has expired or been suspended.
    If you need to send mail from outside your ISP's network, use an independent mail service provider. I don't have a specific recommendation.

  • Sharepoint 2013 designer workflow mail not sending

    Hi
    I am doing sharepoint 2013 workflow for mail sending  using designer.
    I am sending mail when new item created in List.
    Here status is completed, but mail not sending the following error comes
    "The e-mail message cannot be sent. Make sure the e-mail has a valid recipient".
    But i have valid email ID.
    If i am sending mail through C# (Visual Webpart), mail sending properly.
    Give me solution, Thanks in advance

    Can you please check the below threads
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/3c76459c-01f5-4d75-be17-ee5b2ce1c1dd/sharepoint-designer-2013-workflow-not-sending-emails?forum=sharepointgeneral
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/caee58c6-3128-4241-92e2-62f1d0bff01f/sharepoint-workflow-not-sending-e-mail?forum=sharepointcustomizationlegacy
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answeron that post andVote as Helpful

  • Since moving to iCloud my mail not sending attachments any answers?

    Hi
    Since moving to iCloud my mail not sending attachments any answers?

    After the migration I started having problems with all NON Apple things.
    Now, as of July, 6th this is my situation:
    Lion devices and iOS5 devices (MacBook, MacPro, iPhone 4s and iPad I) - fine
    have a look here for info:
    AUTOMATIC SETUP FOR APPLE MAIL ON LION MACS
    http://www.apple.com/icloud/setup/mac.html
    Snow Leopard - set up after some trouble using these instructions:
    OLDER SERVER FOR APPLE MAIL ON PRE OS 10.7 MACS
    http://support.apple.com/kb/HT5330
    Non Apple clients should work with these instructions but I still cannot get MailForge to work:
    SERVERS FOR GENERIC EMAIL CLIENTS
    http://support.apple.com/kb/HT4864
    MOBILE NON APPLE STUFF
    With my HP (Palm) Pre 3 I am still figuring out why every single day they change the servers:
    this however might help you as the Palm is more similar to the BB than the iPhone:
    PALM PRE 3 SETTINGS: I also have updated the password on iCloud, deleted the old iCloud account on the Pre, created a new one. Please note that it now sends using the older server, I do not know for how long.
    INCOMING
    OUTGOING

  • Out going mail not sending in mavericks

    I've had this problem since upgrading to mavericks, mail not sending and the sntp server showing off line.
    I"VE FIXED IT!!!!
    Guys hope this helps, the ports show default - 25, 465, 585 in edit smtp settings. Check the next box down - use this port and type in 25, I know its in the default list but its sent my mail when using the custom port.
    Hope this helps, I spent all day yesterday on to my server supplier and onto chat with Apple in US but couldnt solve it.
    Best of luck!!

    For the past few weeks, I have been noticing a similar problem: access to 11 email accounts, and three domains, is blocked on occasion. According to my web hosting company, this is happening because some process was attempting to connect via port 585, an insecure IMAP port; and that an automatic firewall rule was invoked to block those attempts. The blocking would last for about one hour after the last attempt was made to connect.
    I'm running Mavericks. If I quit Mail, then restarted one hour later, the problem was resolved. UNTIL Mail attempted to connect to my mail servers, upon which the blocks were triggered again.
    I downloaded Little Snitch. It told me, unsurprisingly at this point, that three email accounts were attempting to use port 585 to connect to their mail server. But I DON'T USE IMAP with those accounts! Why Mail is attempting to connect to a port which I haven't configured it to use is the puzzle.
    The solution for me: tell Little Snitch to deny any access via port 585.

  • I forgot my security question and the mail they send for recue the awnsers are wrong

    i forgot my security question and the mail they send for recue the awnsers are wrong, like my mail is [email protected] but they say they send to f・・・・・・・@live.com, first i thougt that was normal but the mail never come...... someone help me!

    Call Apple for support. They have account security who can reset those security questions for you if you can verify the account over the phone... Once your security questions are reset you can go to appleid.apple.com and manage your account there! good luck!

  • Apple mail not sending via my server hotmail.

    apple mail not sending via my server hotmail.  Please help

    How would you like us to help when you don't provide any details.  We don't have a crystal ball.

  • Mail not sending - this works for me...

    I have what seems to be an increasingly common problem with Mail in SL. Suddenly not sending. I've read all the advice, which is great and helpful, but the problem here is that this is suddenly happening. No change to any settings, ISP has no problem with the port, I can send from a Mac Pro running Leopard. What seems to work (don't ask me why) is shutting down Mail for at least a minute. I know it makes no sense, and it's doubly annoying, because [it appears] that solutions to problems with Macs are getting closer to the old solutions for wintel - shut down, restart and hope. If possible, sacrifice a chicken simultaneously.
    Shame. I was enjoying the Mac experience!

    I don't have any problem sending, and using several different SMTP.
    If this is only with your laptop, I suspect that in moving from place to place and likely using the Default Port list for the SMTP that it is getting switched from time to time between ports in the list, and not finding the right one sometimes.
    If you have a SMTP that will work on, say Port 587 or 465, and never need Port 25, change to Use Custom Port and directly enter the needed port, rather than use the Default list. If, however, your home venue requires Port 25, but moving about requires one of the others, then not a good workaround.
    Ernie

  • Mail not send, new twist

    Qwest.net cancelled my email service without warning (yes, I was paid up- they just stopped offering that package!!) So I kept the Qwest.net basic ISP (no email boxes, just net access) and registered a domain with Emerald Web Host. I set up several new email boxes.
    POP and SMTP server settings are
    mail.mydomain.com or the numeric IP address provided by the host xx.xx.xxx.xxx. Server Option settings: no authorization, port 25 assigned. (I also tried it with authorization account, password in different combos with port 25, 110, 587. Different results, but let's stay with the no auth for now)
    So, the usual story. POP works fine (incoming mail), SMTP (outgoing) returns error:
    "Cannot send message using the server xx.xx.xxx.155.
    The server response was: Adminstrative porhibition.
    Try again using another server XYZ?." (XYZ doesn't send either).
    Here's the twist - If I close the email (red button), choose Save as Draft, then open Drafts folder and select/open the email and click the send button . . . IT SENDS! Same story when connected via Comcast accross town, cafe' wireless, etc. Reproducable result. Sends from draft folder every time. What a hassle, though.
    OK this is almost how Mail acted before with Quest.net. Incoming worked fine, Outgoing only worked if I clicked Get Mail just before Send Mail. At the the new host, I want send with one click instead of two or three.
    Here is what I have done so far:
    Trashed Launch Services plist and both cstor files
    Trashed Outbox.mbox
    repaired permissions
    System mainenance, all three (MacJanitor)
    relaunch mail
    restart
    Host thinks it's an Apple Mail thang, but they would love to know how to advize customers for success.
    Is Quest blocking port 25? I tried the local Qwest smtp server address. No send - I have no email account at Qwest and therefore, no username or password.
    Any suggestions?
    Thanks in advance
    -B

    Hi, Allen - thanks for reply, you seem to take on this issue all the time.
    Re older issue of need to Get Mail before successful send: At that time, Qwest was ISP and email provider. The need to collect mail prior to successful send varied in time. Some times the send would work for a minute or two after a Get Mail, sometimes not. Never more than 5 or 10 minutes, though. I guess the authentication timed out at different rates.
    Re new "Save to Draft" twist: Qwest is ISP, Emerald is webhost. I spoke with Qwest (misspelled earlier as "quest") techsupport: no restrictions at Qwest on port 25, nor any other special requirements of smtp servers outside of Qwest network. I have 5 email email accounts on my webhost. Of the 5, 4 need Save to Draft for successful send. 1 sends successfully each time (at least today). I can copy the setting format to the 4, but they still need Save to Draft for send. Get Mail prior to Send does not help.
    Mail Preference Settings for the one that works:
    Account Information
    Outgoing Server: mail.domain name
    Server Setting
    Port 25
    SSL off
    Authentication -None
    (if set for Password w/ID and PW filled, then Save as Draft still needed)
    Advanced Settings
    Enable Y
    Include for auto check Y
    Remove copy from server Right away Y
    Prompt for large message N
    Port: 110 SSL N
    Auth: Password
    Sometimes a Send results in a 15 second spin of the Send progress dial thingy instead of the server error message, and then an outbox appears with the message in it. Otherwise, there is no outbox icon visible in my sidebar. Is that how Mail is supposed to work - no outbox unless there are messages qued for send?
    My next step is to remake each "bad" mailbox at host and at each account in my Mail. I already did this once, to no avail, but it may be worth another try.
    OR other suggestion?
    -B
    PB G4 1.33   Mac OS X (10.4.8)   1 GB RAM

  • Mail not send when subroutine is call in dynamic actions

    Hi Friends,
    I have facing a problem in sending a mail through dynamic actions . In this mail is not send to specific user mail-id.
    Suggest me . What to be exactly done .
    Regards,
    Anish

    First you have to understand what should be done...
    ask your functional consulatant where exactly the Mails need to be retrived For example...
    in infotype 0105 subtype '010'  generally we have email ids avaialable of the employeee....
    may be this helps or not give full specification some one can revert back.
    Regards
    sas

  • Notification mail not send

    Hi All,
    I have an issue in PR workflow.A notification mail is send to user to approve a PR,but the user says that he did not receive that notification mail.He manually goes to transaction & approve the PR & workflow gets completed.
    Please let me know how to find out the cause of this problem.In my workflow log it shows workitem approved by the user.
    What can be the cause that notification mail is not send.The user email id is maintained in su01.
    Please help.
    Thanks in advance

    Hello,
    You wrote:
    "As he executed that step manually ,automatically the workitem got deleted from the user inbox"
    This is not something that happens automatically. Is the workflow listeing out for an event which tells it that the activity represented by the step has already been done?
    I assume you mean the user performed the operation that was supposed to be done via the workflow step, not that he performed the workflow step itself. If the workflow log shows that he did perform the step, then the user is mistaken.
    regards
    Rick Bakker
    Hanabi Technology

  • Why is mail not working for gmail

    I have an iPhone 5 via AT&T for data service.  When I try to send out an email via ios mail - the send shows up at the bottom and the email does not get sent?

    Yeah, try deleting the account and setting up GMail again.. OR you could download the Gmail app from the appstore and use that app instead

  • SAP mail not received for transfer order errors in background

    Hi All,
    We need to set up automated mails to SAP inbox in case there is any error during automatic TO creation in the background. The customizing for this has been done. Now in OMKX for MAIL messages we have two options, either tick the document user or put a user id in the recepient field. If I put a user id in the recepient field the user gets the job spool in the inbox everytime the job is run. However when the 'document user' box is checked it does not send the notification to the inbox of the user who had created the material document when there is some error in the TO creation background job. The mail control indicator 'A' has been set up in OMKX under both MAIL messages and movement types. Am I missing some setting? Note that auto TO creation is successfully happening in background so all its relevant settings are in place.

    I have just scanned down 9 pages in the discussion and found a discussion thread already running for my problem with google mail....... http://discussions.apple.com/thread.jspa?threadID=874063&tstart=120

  • Mail not working for local users

    I have sunOS 5.9 running on sun sparc
    mail is not working on this system even for local users.
    I have tried from the command prompt
    mail username
    Test email
    ^D
    nothing happens after control D, I don't get command prompt.
    I also tried
    mail username
    Test email
    nothing happens
    sendmail daemon is not running on this system but my understanding is that sendmail is not required. I need mail to work only for local users to receive emails for failed cron jobs etc, it is not required for this system to send or receive emails to/from outside world.
    Can someone guide or point in right direction to fix mail functionlality for local users?

    Actually, with recent versions of sendmail, you do need sendmail running to be able to send mail.
    You never used to, but since they made sendmail no longer setuid root, you do.
    Sendmail has essentially been split into 2 daemons a local queue runner with handles sending sent by local users.
    And a listener daemon with listens for remote connections.
    If you want to be able to send mails but not have sendmail listening, you have a couple of options.
    You can either run only the local queue runner and not run the listener. In this case you have to configure the local queue runner to send mails onto a external mail host for processing. This requires editing /etc/mail/submit.cf
    Alternately, you need to configure the local listener to only bind to the localhost port so it can't be contacted from external sources.
    This requires editing sendmail.mc and regenerating a new sendmail.cf
    I tend to favour the latter option as the former limits your ability to do things like local aliases of root: [email protected] to send all your root mail to a central account.
    This is the sendmail.mc you will need
    divert(0)dnl
    VERSIONID(`@(#)main.mc 1.5 (Sun) 08/10/00')
    OSTYPE(`solaris8')dnl
    DOMAIN(`solaris-generic')dnl
    DAEMON_OPTIONS(``Port=smtp, Addr=127.0.0.1, Name=MTA'')dnl
    FEATURE(`no_default_msa')dnl
    MAILER(`local')dnl
    MAILER(`smtp')dnl

Maybe you are looking for