How to use Add_Delivery_Option to send an email to multiple recipients

I have the following code before i submit a concurrent request:
B_Delivery_Success := Fnd_Request.Add_Delivery_Option(
'E',                    -- EMAIL
'Enter subject', -- SUBJECT
'[email protected]',          -- FROM
'[email protected]'          -- TO
,NULL               -- CC
which correctly sends an email with attachment. However i need to send the email to multiple recipients. How can you enter multiple names against the 'TO' parameter. I know that i can repeat this again and again with a different email address each time, however there must be away to use this code once with multiple addresses?
Edited by: user974582 on 09-Oct-2012 01:23

Not sure about the API but there are other ways to achieve it i.e. through alerts.. You can refer below
Can Concurrent Request Notifications Work With A Group Email ID [ID 1096850.1]
Cheers,
ND

Similar Messages

  • TS3899 If I send an email to multiple recipients, I cannot open the individual replies on iphone

    If I send an email to multiple recipients, I cannot open the individual replies. I can see there are a few replies but have to go to webmail to see them.
    Any ideas anyone?

    ...and even email addresses can be hidden by sending to each recipient using your mail client's "bcc" or "blind copy" field instead of the "to" field.

  • How to use Forms10g to send mass email to users via MS Outlook?

    Does anyone has tried to write a Forms that retrieve emails from a database schema and then send mass emails to these users viad Microsoft Outlook? If yes, would you like to share your valuable experience with us?

    i would be easier to depend on database packages for achieving this result, whether you create procedures or database triggers, you can still invoke these construct form your form. If you database is a 10g database, it is easier to handle mass email since there is an already built-in package for this.
    below is an example
    Using UTL_MAIL (only for Oracle 10g)
    make sure that the UTL_MAIL package is installed
    SQL>start utlmail.sql
    SQL>start prvtmail.plb
    both can be found under $ORACLE_HOME/rdbms/admin
    utl_mail.send(
    sender IN VARCHAR2 CHARACTER SET ANY_CS,
    recipients IN VARCHAR2 CHARACTER SET ANY_CS,
    cc IN VARCHAR2 CHARACTER SET ANY_CS DEFAULT NULL,
    bcc IN VARCHAR2 CHARACTER SET ANY_CS DEFAULT NULL,
    subject IN VARCHAR2 CHARACTER SET ANY_CS DEFAULT NULL,
    message IN VARCHAR2 CHARACTER SET ANY_CS DEFAULT NULL,
    mime_type IN VARCHAR2 CHARACTER SET ANY_CS DEFAULT 'text/plain;
    charset=us-ascii',
    priority IN PLS_INTEGER DEFAULT 3);
    Example
    declare
    vSend VARCHAR2(30) := '[email protected]';
    vSubj VARCHAR2(50) := '10g new mail package';
    vMesg VARCHAR2(4000);
    vMType VARCHAR2(30) := 'text/plain; charset=us-ascii';
    BEGIN
    vmesg:= 'Hello mail 10g worked';
    utl_mail.send(vSend, '[email protected]', NULL, NULL, vSubj,
    vMesg, vMType, NULL);
    END ;
    Note: for this to work, you need to set the SMTP Server
    SQL>ALTER SYSTEM SET smtp_out_server ='smtp.realsoft-me.com' scope=spfile ; -- added Aug 15,2005
    -- Use your own smtp server name
    Re-bounce the instance for the changes to take place
    If you database is oracle 9i, then you have to depend on packages like UTL_SMTP , UTL_TCP. i have another example that uses the sames sample code that Mark refered to and you can find such example at my website
    http://www.e-ammar.com/Oracle_TIPS/oramail.htm
    The code my seem a bit complex, but you many not need to use it all, additionally, it makes a difference if you are going to use attachments or not.
    hope this helps
    Ammar Sajdi
    www.e-ammar.com
    www.palco-me.com
    www.realsoft-me.com
    Amman - Jordan Oracle certified partner
    Partner, CEO and consultant

  • Sending an email to multiple recipients

    I'm trying to send to an email to to a few hundred addresses (a gig announcement- I'm a musician), and Apple Mail won't let me. The addresses are in a group in the Address Book. I use to do this on my G5, but this computer won't allow it, even though the settings in Apple Mail are identical. I was on the phone with Earthlink and they were stumped. Any ideas??

    It's gone
    No Address Icon in Yosemite Email App
    But send Apple feedback
    Go to this site:
    Apple Product Feedback
    http://www.apple.com/feedback/
    So select a product:
    In  your case, Mail, by going here
    http://www.apple.com/feedback/mail.html
    Select appropriate feedback and give them your best recommendations.

  • Action to send email for multiple recipients

    Hi gurus,
    Currently the user needs to send a email for multiples recipients according to the organization structure.
    For example:
    The user generates a complaint and the systems must notify by email the department responsible to solve this complaint, sending an email for all employees assigned into this organizational unit.
    How should I configure the action to send an email for the whole departament?
    Best Regards,
    Gabriel Santana

    HI Gabriel,
    Get the email ID's of all the recipents from orgunit using FMs <b>RH_STRUC_GET</b> and <b>BAPI_BUPA_ADDRESS_GETDETAIL</b> into internal table <b>et_mailid</b> and then using FM <b>SO_NEW_DOCUMENT_ATT_SEND_API1</b>.
    For reference check the code below:
    <b>*i_message has contents of mail body</b>
    DATA:    g_sent_all(1) TYPE c,
             g_doc_data LIKE sodocchgi1,
      DATA:  i_message      LIKE solisti1   OCCURS 0 WITH HEADER LINE,
             i_packing_list LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
             i_receivers    LIKE somlreci1  OCCURS 0 WITH HEADER LINE.
    Fill the document data.
        g_doc_data-doc_size = 1.
    Populate the subject/generic message attributes
        g_doc_data-obj_langu = sy-langu.
        g_doc_data-obj_name  = 'SAPRPT'.
        CONCATENATE g_sdltime0(2) ':' g_sdltime2(2) ':' g_sdltime+4(2) INTO g_time.
        CONCATENATE c_subject g_time INTO g_doc_data-obj_descr SEPARATED BY space.
        g_doc_data-sensitivty = 'F'.
    Describe the body of the message
    Information about structure of data tables
        CLEAR i_packing_list.
        REFRESH i_packing_list.
        i_packing_list-transf_bin = space.
        i_packing_list-head_start = 1.
        i_packing_list-head_num = 0.
        i_packing_list-body_start = 1.
        DESCRIBE TABLE i_message LINES i_packing_list-body_num.
        i_packing_list-doc_type = 'RAW'.
        APPEND i_packing_list.
    Add the recipients email address
        LOOP AT et_mailid.
          CLEAR i_receivers.
          i_receivers-receiver = et_mailid-email_id.
          i_receivers-rec_type = 'U'.
          i_receivers-com_type   = 'INT'.
          i_receivers-notif_del  = 'X'.
          i_receivers-notif_ndel = 'X'.
          APPEND i_receivers.
        ENDLOOP.
    Call the FM to post the message to SAPMAIL
        CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
          EXPORTING
            document_data              = g_doc_data
            put_in_outbox              = 'X'
            commit_work                = 'X'
          IMPORTING
            sent_to_all                = g_sent_all
          TABLES
            packing_list               = i_packing_list
            contents_txt               = i_message
            receivers                  = i_receivers
          EXCEPTIONS
            too_many_receivers         = 1
            document_not_sent          = 2
            document_type_not_exist    = 3
            operation_no_authorization = 4
            parameter_error            = 5
            x_error                    = 6
            enqueue_error              = 7
            OTHERS                     = 8.
    Regards,
    Amit
    *Always reward points for helpful answers
    Message was edited by:
            Amit Kumar

  • How can i send a email to multiple people on my ipad2 using the contact and group list downloaded from my iMac.  Thank you

    I am 63 yrs old and not to computer literate.  I know how to send an email to multiple people using my contact list and groups on my IMAC.  I tried using a group name downloaded to my Ipad2 from my IMac.  It does not work.  If I choose a single email address it works.  Any idea what I am doing wrong?
    Thank you for your paitence and help.
    Steve

    You are not doing anything wrong. The feature that you need is totally lacking in the built in Mail app on the iPad.
    There are a couple of third party mail apps that will let you do this ... MailShot and Group Email with Attachments. You can check them out in the App Store.

  • Frequently I send an email to multiple contacts.....I'm constantly changing my selection of multiple contacts so using the "group" function doesn't get the job done.......so how can I go through m

    I guess I was not clear.....my fault....let me re-phrase:  frequently I send an email to multiple contacts.....I'm constantly changing my selection of multiple contacts so using the "group" function doesn't get the job done.......so how can I go through my list of contacts and quickly select those contacts that I want to receive that particular email....thx  

    You need an app that allows group messaging. Enter group messenger in the search bar in the app store.

  • How to use FM SO_DOCUMENT_REPOSITORY_MANAGER send mail with CC.

    Dear Experts:
    Please help me. How to use FM SO_DOCUMENT_REPOSITORY_MANAGER send mail with CC.
    My Program code is as follow:
    *Send the mail.
    tb_receipients-recnam = 'BAITZ'.
    tb_receipients-recesc = 'B'.
    tb_receipients-sndex = 'X'.
    tb_receipients-att_fix ='X' .
    APPEND  tb_receipients.
    CALL FUNCTION 'SO_DOCUMENT_REPOSITORY_MANAGER'
      EXPORTING
        method       = wa_method1
        office_user  = wa_owner
        ref_document = wa_ref_document
        new_parent   = wa_new_parent
      IMPORTING
        authority    = wa_authority
      TABLES
        objcont      = tb_objcnt
        objhead      = tb_objhead
        objpara      = tb_objpara
        objparb      = tb_objparb
        recipients   = tb_receipients
        attachments  = tb_attachments
        references   = tb_references
        files        = tb_files
      CHANGING
        document     = wa_document
        header_data  = wa_header.
    endform.                    " send_mail
    By the why, tb_receipients-recnam = 'BAITZ'. What's the meaning of 'BAITZ'? Thanks!

    you can use FM SO_NEW_DOCUMENT_SEND_API1
    WA_RECV TYPE SOMLRECI1,
    IT_RECV TYPE STANDARD TABLE OF SOMLRECI1.
    wa_recv-receiver = 'TO email address'.
    wa_recv-rec_type = 'U'.
    wa_recv-com_type = 'INT'.
    APPEND wa_recv TO it_recv.
    CLEAR wa_recv."To Recipient
    wa_recv-receiver = 'CC email address'.
    wa_recv-rec_type = 'U'.
    wa_recv-com_type = 'INT'.
    wa_recv-copy = 'X'.
    APPEND wa_recv TO it_recv.
    CLEAR wa_recv. "CC Recipient
    wa_recv-receiver = 'BCC email address'.
    wa_recv-rec_type = 'U'.
    wa_recv-com_type = 'INT'.
    wa_recv-blind_copy = 'X'.
    APPEND wa_recv TO it_recv.
    CLEAR wa_recv. "BCC Recipient

  • How to use a nice format for email [From]

    hi there,
    Does anyone know how to use a nice format for email? Currently my Auto-System sends an email to the client with the account name ([email protected]) and I want to change it to a nice format such as 'Auto-Response'
    anyone?
    Ppr

    anyone?

  • HELP. Using iCal to send timed emails - I used to be able to do this...

    Ok - there's a chance I've gone completly mad - or I just dreamt this - but: Once upon a time I used iCal to send timed emails (with Mail) to outside addresses without the emails looking like they came from iCal.
    I did this for things like 'calling' in sick to work (therefor looking like I was up at 8:15 being ill, instead of sleeping comfortably in hung over splendor) or sending out parts of work throughout the workday (instead of when I'd actually completed them at three in the morning).
    This was very useful.
    I just can't now figure out how I did this.
    Has one of the iCal updates removed this function? Is there something obvious I've forgotten?
    I seem to remember using iCal to trigger a file that in turn sent the email - but again I can't trust my memory.
    Anyone have any hints or ideas? I'm driving my self mad on this one.

    Neal,
    I am in the same predicament. I would essentially like to accomplish the same deal, as seen below. . . (from another forum that went unanswered.)
    I use iCal (1.5.5/ 2.0.3) currently but own Entourage (11.2.1) as well. I have clients that I service on a weekly or biweekly basis whose appointments are in my iCal; I call and remind them the day before. The majority of these people are great about checking email. I would like to set up an automated email reminder which is sent to them for each appointment, two days in advance that does not contain an .ics file. Many times my clients' email app has junked the message due to the small attachment. Others don't want to open a file when they don't know what it is.
    Predetermined timed stamped/Automated iCal events are possible aren't they?! If not, do I have to move over to :dreaded Entourage?

  • How to send email to multiple recipients??

    Hello Experts,
    I got a requirement to send email to multiple recipients. How to approach it as am fairly new to Workflow??
    Thanks & Regards,
    Mohammed.

    Hi,
      Do you only want to send mail using workflow or there any other steps. Then you can directly write the code
    Search in scn you will find lot of post for that
    http://scn.sap.com/thread/3256691

  • How to use logger to send any output instead of the console?

    How to use logger to send any output instead of the console?

    How to use logger to send any output instead of the
    console?There are three commonly used logger inferfaces, the log4j, the java.util.loging and the Commons logging (which works with either.)
    You create a logger object, generally one for each class. Normally a private static variable points to it and it has a name equal to the FQN of the class.
    e.g.
    package org.widget;
    public class MyClass {
      private static   Logger log = Logger.getLogger("org.widget.MyClass");That's the java.uitil.Logger formula.
    Then there are method on the logger to call for various kinds of output. There' are different logging levels, priorities like SEVERE or DEBUG. When running the logs are configured to ignore messages of less than a set priority.
    You can also pass an Exception or Error to the logger which will log the stack trace.

  • Question regarding sending email to multiple recipients

    Hi All,
    I am creating a workflow that will send an email notification everytime a new campaign is created. I've learned that R16 is capable of sending emails to multiple recipients, the only concern I have is I can't find any doumentation on how to do it. It is stated in the R16 Administrator Preview Guide that you can select 'Specific Email Address' and enter multiple email addresses directly, I tried to enter multiple email addresses separated by comma - [email protected],[email protected],[email protected] as an example, but it doesn't work and prompts me to enter a valid email address. Could anybody guide me on how to enter multiple email addresses once the 'Specific Email Address' is selected or how to do it in the expression builder to define the expression that will define the list of emails. I know that using group email addresses can be used as an alternative to this requirement but I hope theirs a way to do this with workflows.
    Thanks,
    Wayne

    According to the R16 Admin preview guide;-
    "Send Email to Multiple Recipients
    Expression Builder is now linked to the email address text field that is presented when the Specific Email Address
    option is selected. Workflow administrators can enter multiple email addresses directly, or click the "fx" icon
    beside the field, and use Expression Builder to define expressions that evaluate to one or more email addresses.
    The benefit of this feature is that emails can be stored on any text field in the base record and multiple emails can
    be sent using one workflow action. "
    But how that works exactly is not clear, I have tried commas, semi-colons, spaces, apostrophes, doublequotes, to separate and try to establish the correct syntax without luck.
    Bob - Perhaps you can do some digging and find out the correct syntax for multiple addresses?

  • On OnPremise, Sending email to multiple recipients doesn't work with SendEmail method

    Hi,
    We are creating a site collection on OnPremise from App by using Sharepoint Client API's (16 version).
    After creation of site collection, we are sending an email to all site collection administrators. But we found that email is being sent to the only first person mentioned in the "To" list. For sending email we are using following method "Microsoft.SharePoint.Client.Utilities.Utility.SendEmail()".
    We tried different scenarios by passing alternately domain username and email address.
    Here are the findings for the different scenarios for the "To" field:
    1) "domain\user1; domain\user1" => sends email to first user
    2) "[email protected]; [email protected]" => sends email to both emails (at least shows in inbox To field, two occurances of email)
    3) "domain\user1; domain\user2" => sends email to first user
    4) "[email protected]; [email protected]" => sends email to first user
    Here is the code we are using:
                    EmailProperties properties = new EmailProperties();
                    properties.To = to.ToList();
                    if (cc != null)
                        properties.CC = cc;
                    properties.Subject = subject;
                    properties.Body = body;
                    Utility.SendEmail(context, properties);
                    context.ExecuteQuery();
    Please let us know what is going wrong here.
    Thanks in advance for your valuable inputs.
    Br,
    Shriram
    Shri07

    According to the R16 Admin preview guide;-
    "Send Email to Multiple Recipients
    Expression Builder is now linked to the email address text field that is presented when the Specific Email Address
    option is selected. Workflow administrators can enter multiple email addresses directly, or click the "fx" icon
    beside the field, and use Expression Builder to define expressions that evaluate to one or more email addresses.
    The benefit of this feature is that emails can be stored on any text field in the base record and multiple emails can
    be sent using one workflow action. "
    But how that works exactly is not clear, I have tried commas, semi-colons, spaces, apostrophes, doublequotes, to separate and try to establish the correct syntax without luck.
    Bob - Perhaps you can do some digging and find out the correct syntax for multiple addresses?

  • Can you send an email with multiple photos from iPhoto in reduced size?

    I want to send an email with multiple photos attached with a reduced size. How do I accomplish this?

    Hi Igmatteson,
    If you are using regular Mac Mail, and you are on Mountain Lion, this is what I can do:
    1. Go into Mail, and start a new message
    2. At the top, you will see 4 icons - the third one over brings up the Photo Browser from iPhoto
    3. Go through your pics and select the one you want and drag it onto the mail page
    4. Once you have done that, a small bar on the right-hand side will show up that will allow you to select whether you want the image size to be small, medium, or large. Once you select a size, all photos you add will be that same size.
    Hope this works for you!
    Cheers,
    GB

Maybe you are looking for