Skip to Content
author's profile photo Former Member
Former Member

send email to distribution list.

i have a problem in sending email to a distribution list.

distribution list can be private or shared folders distribution list.

how to get all email id from the distribution list.

how the SO_NEW_DOCUMENT_ATT_SEND_API1 function module can be used in this scenario.

i have send email to multiple receivers using this function module SO_NEW_DOCUMENT_ATT_SEND_API1 but content or information are same. this scenario information i am going to send differs for each email ids.

plz help me in this scenario.

regards,

suresh

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 17, 2005 at 05:42 AM

    SO_DLI* functions would work with distribution lists. You can probably use SO_DLI_READ or similar FMs to get individual member-ids of the DL.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 17, 2005 at 06:30 AM

    Hi,

    Check this Function module.

    SO_DLI_LIST_READ

    Kindly reward points by clicking the star on the left of reply,if it helps.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 17, 2005 at 10:04 AM

    Hi Suresh,

    I think you can use the same function module with the the REC_TYPE ( Reciever Type )of your recievers Internal Table as 'C' ( Shared distribution list ) .

    Make a shared distribution list in your Workplace and use the function module with REC_TYPE = 'C'.

    Hope this will solve your problem.

    If you find it helpful. Reward point.

    Thanks,

    Mayank

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      Use FM SO_DLI_LIST_READ to get the DLI ID , use that id along with the list name and call FM SO_DLI_READ_AP1. Here in the fields member_adr u will get the names of the people in the dist list.

      Kunal

      PS: dont forget to give the points

  • author's profile photo Former Member
    Former Member
    Posted on Nov 18, 2005 at 03:40 PM

    Hi Suresh,

    Try using the function module <b>'SO_DLI_READ'</b>.

    It will return you the list of members in the

    distributiuon list in a itab.

    Bec content is different for each receiver then

    loop at member and for each member-memnam, populate body and call the fm SO_NEW_DOCUMENT_ATT_SEND_API1 in loop.

    Hope this will work for you.

    Thanks & Regards,

    Siri.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Suresh

      In short, here are the steps:

      Before you Call function 'SO_NEW_DOCUMENT_ATT_SEND_API1' in your internal table passed for "receivers" i.e. for email ids set:

      receivers-rec_type = 'C' for Shared distribution list or

      receivers-rec_type = 'P' for Private distribution list.

      and

      receivers-receiver = <Distribution list name>

      append receivers internal table.

      Thats it..all email ids within your distribution list should get the email. This will work.

      Let us know if any problems.

      Thanks

      Anand

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.