Sending an email to multiple recepients without distribution lists

Hi,
I want to send a Smartform as an email to multiple recepients.
I try to use these functions
-  swc_create_object recipient 'RECIPIENT' space.
-  swc_set_element container 'AddressString' address_string.
-  swc_call_method recipient 'CreateAddress' container.
but i was unable  to put a second address.
Is anyone know how to use these functions or know an other set of functions for doing the job ?
Thanks in advance.
Hania.

Thanks for your quick reply,
But the program is already running with single recipient.  
I wrote it with a smartform call with parameters mail_recipient  and mail_sender 
I have to add a second recipient and if possible i prefer doing some limited changes rather rewriting the whole thing. 
Here is my running code :
swc_create_object sender 'RECIPIENT' space.
swc_clear_container container.
swc_set_element container 'AddressString' sy-uname.
swc_set_element container 'TypeId' 'B'.
swc_call_method sender 'FindAddress' container.
swc_object_to_persistent sender p_ls_sender.
swc_create_object recipient 'RECIPIENT' space.
swc_clear_container container.
swc_set_element container 'TypeId' fax_or_mail. 
swc_set_element container 'AddressString' address_string.
swc_call_method recipient 'CreateAddress' container.
swc_object_to_persistent recipient p_ls_recipient.
*     Call smartform
      CALL FUNCTION lf_fm_name
        EXPORTING
          archive_index       = toa_dara
          archive_parameters  = arc_params
          control_parameters  = p_ls_control_param
          output_options      = p_ls_composer_param
          mail_recipient      = p_ls_recipient
          mail_sender         = p_ls_sender
          s_ekko              = s_ekko
          g_nast              = nast
        TABLES
          g_it_table_ekpo     = g_it_data_ekpo
          g_it_table_eket     = g_it_data_eket
        EXCEPTIONS
          formatting_error    = 1
          internal_error      = 2
          send_error          = 3
          user_canceled       = 4
          OTHERS              = 5.
I try replacing p_ls_recipient by table p_it_recipient in the call function  lf_fm_name.
But smartforms seem to use only first row.
swc_create_object recipient 'RECIPIENT' space.
swc_clear_container container.
swc_set_element container 'TypeId' fax_or_mail. 
swc_set_element container 'AddressString' address_DEST1.
swc_call_method recipient 'CreateAddress' container.
swc_object_to_persistent recipient p_ls_recipient.
append p_ls_recipient to p_it_recipient.
swc_create_object recipient 'RECIPIENT' space.
swc_clear_container container.
swc_set_element container 'TypeId' fax_or_mail. 
swc_set_element container 'AddressString' address_DEST2.
swc_call_method recipient 'CreateAddress' container.
swc_object_to_persistent recipient p_ls_recipient.
append p_ls_recipient to p_it_recipient .
I hope sameone can help me.
Hania.

Similar Messages

  • Is there no way that i can send an email to multiple people without having to choose them individually

    hey there
    I only recently started using this mail.but never thought i would want to do what I just asked.so If there is anyone that can help me.......
    please .will appreciate it very much

    If it is a group of contacts that you send to regularly you can create a mailing list. Here is how to set that up.
    http://kb.mozillazine.org/Thunderbird_:_FAQs_:_Create_Mailing_List
    Do you have the Contact Sidebar turned on in the Write window? If not press F9 when you have a Write window open. With this you can hold the control key down and click multiple contacts to select them and then use one of the Add To buttons at the bottom of the sidebar.

  • 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.

  • How do I create a contact group so that I can send an email to several contacts without having to type individual names.

    How do I create a group in my contacts so I can send an email to several people without having to type names individually? In gmail on my computer I have several groups of contacts but I don't see them on my iPad air.

    In the contacts app there really isn't a way to do this.  What I do however, is create a note in the Notes App with the email addresses of the people I want to email to like this:  [email protected]; [email protected]; [email protected]
    Then when I want to email that group, I just use the copy feature of iPad, pasted it into the to line in an email and voila, I can email to a group.

  • TS3276 How do I send an email to several people without each recipient knowing who the other recipients are?

    How do I send an email to several people without each recipient knowing who the other recipients are? The message will have over 100 recipients.
    Tks

    When you compose a new message, use the Bcc field to enter the addresses.
    If you don't see one, you can enble it by pressing this button and selecting BCC Address Field.

  • Why with Maverick can I NOT send an email to Multiple contacts?

    Why with Maverick can I not send an email to multiple contacts,? (no problems with Mountain Lion)

    I have been having problems with addressing  group emails I think only since Maverick. I have been unable to drag the group or copy the addresses into the "To" or "cc".
    However if I have 2 groups (Say "Family Close" and "Family Others" if one TYPES  Family in the "To" space the alternative are shown and when one clicks on one of these the "Bolded"  group is shown and can be expanded etc
    Bob Wines

  • 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

  • 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.

  • 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.

  • 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

  • Emails flowing in BCC when distribution list was added with new id's

    Hi,
    I had to add 7 additional e-mail id's to the esisting distribution list which has already got 18 email id's.
    This distribution list was included in the repient list of a custom job few months back.
    The job was sending emails to the 18 recipients in TO earlier, but after I added 7 more email id's the job is sending emails to all recipients in BCC.
    I did not change any configs of DL in Batch Job recipient or any where. I want to know if there is any limitation of distribution list or any other issue leading to BCC functionality.
    Please advice ASAP as its making problems in Production to the business.
    Thanks in advance,
    Ravi Shankar

    vz_ric wrote:
    The majority of websites are set up the same way for all browsers. It's the software manufacturers responsibility to make their software compatible with websites, not the other way around. Otherwise everyone who has a website will have to make 10 different sites to work multiple browsers.
    Contrarily, it is Verizon's, as well as other companies like Verizon whose customer base uses a wide variety of web browsers, web page designers' responsibility to use only standard W3C-recognized code and not to use non-standard non-W3C-recognized code, e.g., Microsoft's Internet Explorer specific code, when designing their web pages. In my opinion based on my observations, Verizon's web page designers are too often guilty of using IE-specific code.

  • How to send the invoice doc. through the email to multiple recepients ?

    Hi Experts,
    I have a requirement to send the invoice document to multiple recepients through the email. 
    Do I need to repeat all the FMs "OPEN_FORM, START_FORM, WRITE_FORM, END_FORM and CLOSE_FORM' in the loop.  Otherwise it is fine if we loop the FMs OPEN_FORM and CLOSE_FORM only ?  Please confirm.
    Thanks,
    Sreenivas.

    Hello.
    U need to loop any FM'S try to get the spool number and convert it to PDF.
    Retrieve the multiple receipients whom u want to send and collect all these in a table then call the mail trigeering FM.
    This is the easy way u can do.
    Still u have doubts plz revert.
    Tnx,
    Arun.

  • How can I send an email to multiple contacts at once and have them not able to see the list or emails of the other persons included on the email?

    Im trying to send one email to a list of people from my contact list but don't want them to be able to see who all is on the email list.

    You use BCC instead of TO when addressing the message.
    BCC = Blind Carbon Copy
    The easiest way to do this is using the Contact Sidebar in the Write window. Press F9 to turn it on when a Write window is open.
    Select all the contacts for the message. Hold the control key while clicking the contacts to select multiples. Then use the Add to BCC button at the bottom.

  • PO to supplier using external send option email (to multiple addresses)

    Hello All,
    We have activated PO external send option for our client but they want that PO should be sent to more than one ID of the supplier and it seems that is not possible by maintaining multiple addresses in Vendor Master's Address view as system only picks one having indicator ticked, also system does not allow to tick it for more than one address. Please let me know if it is possible using standard function to send PO email to more than one address.
    I need to know if there is any standard way of doing this w/o using any development or ABAP work.
    Also has anybody tried using disctribution list SO15 if it is possible?
    Please help we are at Go live.
    Regards
    Anjan
    Edited by: Anjan Dubey on Aug 12, 2009 10:28 AM

    Hi,
    From my opinion, it's impossible of the standard function in SAP system, so:
    Firstly you need to confirm with your buyers, whether they really require to send the information to multiple addresses, maybe they can send the information to one contact person on vendor side, then the contact person can forward the email to other relevant people;
    If have to do it, you need to develope an ABAP background job to do it!
    Hope you can solve the problem!
    Good luck
    Tao

  • Report email multiple users or distribution list

    I have created an output device for PDF format for report painter output.  When I print, there is space for a single mail address.  I have created distribution lists in the workplace, tcode SBWP.  I need to know how to send the pdf of the report painter output to the distribution list or multiple users.

    this sounds to me like the client is not handling errors properly
    and instead of resubmitting to only those that failed, it is resubmitting all
    I would say to look at the mail.log_current. make sure logging is on the defaults channel
    set LOG_CONNECTION=3
    and LOG_MESSAGE_ID=1
    in option.dat
    recompile configuration
    imsimta cnbuild
    reload configuration
    imsimta reload
    The original problem was when a temporary error occurred in sending one of the addresses, and we didn't handle that properly. Happened sometimes when Brightmail was involved.
    Since these are not Messaging lists, but Outlook lists, it's entirely possible that it's Outlook that's not handling the errors correctly.

Maybe you are looking for

  • USB Ports Not Working

    The USB Ports on my 2012 MacBook Pro have stopped working. Initially, port #1 (the one closest to the screen) stopped working, but now (probably nearly 12 months later) they have both stopped working. The SD card reader is starting to work intermitte

  • GMail: Sent mail comes in the inbox?

    If I send an email from my Gmail account on my iPhone, the sent mail will appear in my inbox as well as the sent items box on the phone. If I look at my gmail account on my computer via my browser the sent mail is correctly sitting in my sent folder

  • Recipe for Live Playback via FCServer

    Hi All, I'm putting together a small HD TV studio for my school & want to know how we'll be able to access out edited stories for air from the server. We plan on using Final Cut Server to link all our workstations (20 - 30) & it'd be great if we coul

  • Rounding up to the nearest 0.05

    Hi guys i am trying to round a value up to the nearest 0.05. e.g. the value 94.63 would be rounded up as 94.65 I have used big decimal with the round half up and round up modes but it still outputs 94.63 How can I get arround this ? Cheers

  • Correcting PO

    Hi A vendor has 2 PO's in SAP. On PO A, incorrect amounts(over payments) were GR'ed(Service Entries are being used) and IR'ed. And these amounts were paid to the vendor. Vendor invoiced less on PO B to counter the overpayment. These invoices(with the