Fethcing email address from Distribuiton list.

hello all,
I have requirement where i am supposed to send out mails to a distribution list that is specified. My funcion module can only take
email ID internal to SAP and then send mail to it.
Can you kindly let me know if there is any function module to fetch the email ID's for a give Distriubtion list. Or is there any function module which sends mails by taking distriution list as input.
Warm Regards,
Naveen M

Try something this way
    call function 'SO_DLI_READ_API1'
      exporting
        dli_name                   = soid-objnam
        shared_dli                 = 'X'
      tables
        dli_entries                = i_distlist
      exceptions
        dli_not_exist              = 1
        operation_no_authorization = 2
        parameter_error            = 3
        x_error                    = 4
        others                     = 5.
    if sy-subrc <> 0.
    else.
      loop at i_distlist.
        if i_distlist-member_adr is initial.
          move i_distlist-member_nam to i_user-bapibname.
          call function 'BAPI_USER_GET_DETAIL'
            exporting
              username = i_user-bapibname
            importing
              address  = wa_address
            tables
              return   = i_return.
          move wa_address-e_mail to wa_receiver-receiver.

Similar Messages

  • Giving users control of their own distribution list control to add or remove external email addresses from their list

    We are a Exchange 2010 SP3 shop, we have distribution groups (with over 200 email addresses ) from another email system which has only external email addresses (i.e [email protected] [email protected]  and so on …..)
    We want to import these groups into exchange. we called microsoft, they said create mail contacts for each address and put those in a Distribution Group.  I know this will work. 
    Our goal is to have the user create / maintain / add / remove external their own email addresses  (Not the IT department)
    There must be many companies whose requirements match ours. Are there third party tools that would handle creation of distribution list? 
    Any constructive advice would be greatly appreciated ! THank you

    I wouldn't give the ability to create contacts to everyone in the environment because it will become mess at some point of time and IT will have to jump to control it
    anyway so why don’t from the start...
    I would give this to certain people like Leads or Managers of the groups under certain IT Policy so it will be still under control and people
    will think before asking their superior to create them and someone gets responsibility to manage these contacts...
    Though here is the more specific article on how to delegate creating and editing contacts...
    Creating RBAC Role To Delegate
    Editing Contacts
    Blog |
    Get Your Exchange Powershell Tip of the Day from here

  • How do I copy an email address from my address book into a new list that I am creating?

    I am creating a new list for email and want to be able to select the email addresses from my existing address book. I don't seem to be able to do this very basic thing. Is there a trick that I don't know?

    ''LindaJane [[#question-1040921|said]]''
    <blockquote>
    I am creating a new list for email and want to be able to select the email addresses from my existing address book. I don't seem to be able to do this very basic thing. Is there a trick that I don't know?
    </blockquote>
    Thank you!!

  • How do I delete old email addresses from the pop up list that comes up when I put a letter into the "To" box. These addresses are not in my address book.

    How do I delete old email addresses from the pop-up list that comes up when I put a letter into the "To" box? They are not in my Address Book.  Wrong addresses get in the way and I sometimes select the wrong one.

    Edit the list the comes up when you go to the Window menu and select "Previous Recipients".
    charlie

  • Has anyone got a script to read a list of email addresses from a Mail message and put them into a group in Contacts?

    Has anyone got a script to read a list of email addresses from a Mail message header and put them into a group in Contacts?

    Now Tony, I know you can't hear my tone on a forum post but I was not complaining, simply stating facts . This change brought several people in my office to a grinding halt in a long established workflow that is really rather simple (and I thought was already assumed from the original post above ):
    1) Select a set of records in FileMaker Pro 12 and export only their e-mail addresses as a CSV file.
    2) Open that CSV file in Excel.
    3) Copy the column of e-mail address.
    4) paste into the appropriate recipient field in Mail.
    5) Send
    If I were to complain it would be about Apple's typically opaque approach to updates. There is no granular explanation of why changes were made or even "what" changes were made.
    Complaining is futile since Apple is Apple and is unlikely to change, but sometimes it is cathartic to "shout into the void" .
    I had thought about doing something with a formula in Excel and your suggestion was simple and helpful. Again, however, it is only a workaround for a long established helpful behavior that Apple has inexplicably broken/removed in Mavericks Mail.
    I, and the other posters here, would love to have the capability back rather than have to add previously unneeded steps to our workflows.
    Ultimately we may add scripting steps to the FileMaker side to export the address lists with commas inserted already if Apple ends up having permanently removed this feature.

  • Transferring email addresses from one account to another

    I'm not sure if this is a good place to post this but after spending a good bit of time on the phone with FiOS customer service and technical support I just feel like venting my frustrations and hope that maybe someone could give me a valid explanation of why this cannot be done.
    To give a brief (hopefully) summary of what's going on...
    My wife and I are currently in the process of moving from Florida to Maryland because of the current job market and economy situation.  As always...the moving process has been a "blast".  For at least a few months we will be "between" homes and will be staying with friends.  Because of this we had to cancel our FiOS service (which I did last week and it will be shutting off sometime today).  Since we've been very please with the actual service FiOS provides we have (or maybe I should say "had") every intention of signing back up with Verizon once we're in a new home in the Maryland area.
    So here's where the trouble comes into play...I contacted Verizon to see if it would be possible to somehow transfer our existing Verizon.net email addresses from our account to my friend's account (the person I'm staying with).  You would've thought I was asking for a year's worth fo free service.  Initially I was told by customer service that this can't be done.  They explained that an email address is like a phone number and two separate accounts cannot have the same email address.  Thanks for the newsflash!  I explained again that what I wanted to do was move my email addresses so they would now be associated with my friends account.  This didn't seem like such a horrible request considering my friend pays for FiOS service and with that gets 9 available email addresses....and was only using 2 of them.  She ultimately just told me it was something that couldn't be done.  But she did inform me of the "Verizon Your Domain" service that would allow current FiOS subscribers to associate their Verizon.net email account with a new domain name that you create.  It would cost $20 per year and would allow you to keep your Verizon.net email if you canceled FiOS service.  This sounded like an ok option.
    But still -- I was curious why I couldn't transfer email addresses.  So I then contacted technical support.  This time it was explained to me that an email address was like a social security #.  It couldn't just be given to another person.  Great analogies in use at Verizon....I give them that.  I told the guy I was a fellow "techie" and asked him for a more detailed explanation.  That's when it got good.  That's what killed me.  He spent all this time talking about ACL's and routing and how email addresses couldn't be moved because "you're talking about 2 million addresses".  Long and short he was trying to say the Verizon email system was just too complex.  Finally I told him that it had to be something that could be done....and his exact words were "well sure it can be done...but we're not going to do it if you're not paying for a service".  Wow!  Great response!  I've been a paying customer of FiOS for about two years.  I've had some form of service with Verizon for about 15 years (from phone service to mobile service with V-Wireless).  I fully understand that I'm no longer paying for FiOS service.  But my friend is.  And he has 7 email accounts he's not using.  So why couldn't they be moved?  Because the system is too complex?  Give me a break.  Like this guy finally admitted...it boils down to money.
    Finally I gave up.  I told my wife that we'd just have to deal with switching to a new email address.  Life will move on.  She wanted to try the "Verizon Your Domain" option though.  She started doing the process online...had some questions....and decided to call customer service.  She got transferred around to three different people...the last of which told her "you need to call a different department" and then CLICK. 
    Great, great job Verizon.  All I ask is if someone could give me some sort of response that makes sense.  If you just don't want to offer the transfer option then tell me. 
    I expect to be in a new home within a month or two.  And suddenly Comcast is looking very good.

    spacedebris wrote:
    Well, CS was right when they said that Verizon cannot transfer your email to another account. In order to do that they would have to overwrite the email of your friend ( I dont think your friend would apreciate that ). This is due to a limitation on the email system.
    However, you may have another option. If you are going to be getting Verizon service again in the realitivly near future (4-8 weeks or so), Then after your acount is closed, contact tech support. If you get the right agent they will "enable" your email. That way you can continue to use it even though you dont have service any more. Now they cant do this for long but for temporary it can be done. Then once you get your service back, they can then move your existing email to your new account. (this can now be done as they will overwrite your new email with your old).
    Now if your going to be without Verizon service for more than a couple months, you may be out of luck but this is one option
    umm, oh bhoy!
    In fact, a "repoint" of an email address CAN be completed onto another account AND it does not overwrite anything on the receiving account.    Each acount, whether its a FiOS account or a copper account, has an account number.   The email address is assigned to the account number.    The email address can be "repointed" from one account to another, as an 'add-on' to the new account, then it can be 'repointed' back to another account later.    HOWEVER, the contract does say that you must have a valid account.  AND, Verizon cannot (no company can) allow you to manipulate someone else's account.  
    as to the "after your acount is closed, contact tech support. If you get the right agent they will "enable" your email", well, the fact is that the account has to be provisioned to an address.   So, though I have come accross accounts that seemed to still be "on" after the listed close date, it was not something that verizon's tier 1 tech support can effect (that's who you get on the phone when you call tech support) (note that 'sales' could not do this for you, either)   So good luck with that.
    What happens is that Verizon will not allow anyone to take your email addresses for at least 6 months. 
      Before you cancelled you may have had an option to have a notice auto-replied to any email that gets sent to your email address, for a limited amount of time, like they can do with a telephone number ("this number has been changed to . . . . . ")  that "this email address is temporarily suspended, or something. . . . I said MAY have had the opportunity. .. .   but if it was me, I would get to where you are going and make sure they have Verizon internet account already   and have them call verizon tech support (so they can verify their account info)  with you standing there so that you can verify your old account info and immediately and plainly ask if you can have an email "repoint" done for you.   
    my .02
    cjacobs001

  • How can i remove unwanted e-mail address from my list?

    how can i remove unwanted e-mail address from my list?

    Go to settings -> mail contacts and calendars -> tap on the desired account and choose delete at the bottom of the page. This will delete the email accunt from the device.

  • How do I remove an email address from a workflow notification?

    Hi, I was wondering if you could help me please. Can you tell me how to remove an old email address from a workflow notification? The person's name and email address have already been removed from the list of Users in the Admin area, but some workflow notifications are still being sent to their email. Any ideas?
    Many thanks for your help.

    Thanks Liam, I'd previously looked at the also notify field and it didn't show any other email addresses. This time I clicked on the second of my two options in the Workflow Steps field, and then clicked back on the first one  again, and hey presto, two email addresses appeared! The offending email address has now been removed.
    Thanks again for your help. Cheers!

  • How can i paste a column of email addresses from an excel spreadsheet into a Mail message To: window

    In the past I have been able to send a group email by copying a column of email addresses from an Excel spreadsheet and pasting it into the To: window of an email message I had composed. I simply dragged my cursor down the column containing the email addresses, right-clicked Copy, put my cursor into the To: window of the email, and hit Paste. Mail recognized the list as a series of email addresses and I was able to hit Send and the email went on its way.
    Today I tried to do this and after I hit Send I got an error message. It appears to me that Mail did not recognize the list as a series of individual email addresses but saw them as one long address; the error message said it "did not appear to be a valid email address". Has something changed in Mail? I recently installed Mavericks!
    I can't be the only one who sends group emails this way. Are others experiencing this problem?

    Now Tony, I know you can't hear my tone on a forum post but I was not complaining, simply stating facts . This change brought several people in my office to a grinding halt in a long established workflow that is really rather simple (and I thought was already assumed from the original post above ):
    1) Select a set of records in FileMaker Pro 12 and export only their e-mail addresses as a CSV file.
    2) Open that CSV file in Excel.
    3) Copy the column of e-mail address.
    4) paste into the appropriate recipient field in Mail.
    5) Send
    If I were to complain it would be about Apple's typically opaque approach to updates. There is no granular explanation of why changes were made or even "what" changes were made.
    Complaining is futile since Apple is Apple and is unlikely to change, but sometimes it is cathartic to "shout into the void" .
    I had thought about doing something with a formula in Excel and your suggestion was simple and helpful. Again, however, it is only a workaround for a long established helpful behavior that Apple has inexplicably broken/removed in Mavericks Mail.
    I, and the other posters here, would love to have the capability back rather than have to add previously unneeded steps to our workflows.
    Ultimately we may add scripting steps to the FileMaker side to export the address lists with commas inserted already if Apple ends up having permanently removed this feature.

  • Removing email address from auto populate box in ICal invites

    I deleted a contact/email address from my address book but his name/email still shows up in ical as choice for invites. His address is not in my mail's "previous recipients" list and is removed from contacts. How do I stop it from being a choice to populate in my ical invite? 

    MacBook Pro - where you actually want and thought you were posting?
    https://discussions.apple.com/community/notebooks/macbook_pro 
    https://discussions.apple.com/community/mac_os?view=discussions
    http://www.apple.com/support/macbookpro
    http://www.apple.com/support/ical
    I assume it is in a cache - maybe even on servers.
    http://www.apple.com/support/iphonehttp://www.apple.com/support/mail

  • 8600 plus with mac osX, need to delete email addresses from scanner

    Have Mac osX snow leopard, need to remove/delete email addresses from my scanner list. Have tried to follow other posts to solve but they don't seem to help as I can't find the specific network folder. Thanks, Chuck

    Hi @oreganocrk ,
    I see by your post that you would like to delete email addresses from the scanner list. I would like to help.
    Print a configuration page to get the printer's IPv4 address. Printing a Network Configuration Page.
    Access the Embedded Web Server for the printer. Type the IP address into your web browser's address bar.
    Click on the Scan tab, Scan to email on the left side of the window, select Scan to address book.
    Check the email that you would like to remove and click delete.
    If you need further assistance, just let me know.
    Have a nice day!
    Thank You.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Gemini02
    I work on behalf of HP

  • How to extract email address from Outlook friendly name cache

    Hi guys,
    A while ago, somebody wrote a little VBA utility to help us to log CRM events. Whenever a user sends an email to a customer, it logs the fact in our CRM database. This is the programmatic process:
    1. Grab the email address from ActiveInspector.CurrentItem.To
    2. If it's a valid email address, all well and good. Proceed to Step 8.
    3. If not a valid email address (it must be a friendly name, perhaps located in Exchange), look for the address in:
    ActiveInspector.CurrentItem.Recipients.Item(1).AddressEntry.GetExchangeUser.PrimarySmtpAddress
    4. If it's a valid email address, all well and good. Proceed to Step 8.
    5. If not a valid email address (it must be in the user's Contact list), look for the address in:
    ActiveInspector.CurrentItem.Recipients.Item(1).AddressEntry.GetContact.Email1Address
    6. If it's a valid email address, all well and good. Proceed to Step 8.
    7. If not a valid email address, then crash!!!         <<------------------------------------------------- Here's where I'm stuck!
    8. Get the CustomerID from the CRM, based on email address.
    9. Do a bunch of other stuff (for example, send the email, and log the event in the CRM).
    I'm a former Access MVP, and am highly experienced with VBA, but my forte is clearly not Outlook. What I'd like to do is find the email address by looking in the local cache, and make sure I get the actual email address rather than the friendly name.
    I'm not sure if 'local cache' is the right word; I know Outlook stores frequently used email address in some sort of cache, even if the user has not explicitly stored it as a Contact. I just don't know how to find it. Can anyone point me in the right
    direction, maybe with a method name?
    Also, while mucking about with it, I found the following. Would it be useful in this scenario?
    ActiveInspector.CurrentItem.Recipients.Item(1).AddressEntry.GetExchangeDistributionList
    Many thanks,
    Graham R Seach
    Regards, Graham R Seach Sydney, Australia

    Hi Graham,
    This might help you to figure things out a bit.
    The contact cache you are looking for is called the nickname cache, also known as the "autocomplete stream."
    The nickname files (.nk2) used by older versions of Outlook (2007 and below).
    Outlook 2010 and 2013 does not use the NK2 file; it stores the autocomplete cache in the mailbox or data file and caches the addresses in an autocomplete stream at C:\Users\username\AppData\Local\Microsoft\Outlook\RoamCache. The cache is stored in a file
    named Stream_Autocomplete_0_[long GUID].dat.
    For applications that interact with Outlook 2010 or Outlook 2013, the autocomplete stream is stored as a MAPI property and can be modified using the MAPI or the
    PropertyAccessor object of the message. The PropertyAccessor object is exposed in the Outlook 2010 or Outlook 2013 object models.
    Outlook 2010 or Outlook 2013 reads the autocomplete stream from a message in the Associated Contents table of the Inbox of the mail account’s delivery store. This hidden message has a message class and subject of IPM.Configuration.Autocomplete. The autocomplete
    stream is stored on this message in the PR_ROAMING_BINARYSTREAM property (PidTagRoamingBinary Canonical Property).
    References:
    How to import .nk2 files into Outlook 2013
    Some Application which can read the Nickname Cache
    Interacting with the Autocomplete Stream
    Autocomplete Stream
    https://msdn.microsoft.com/en-us/library/office/ff625291.aspx
    Regards,
    Satyajit
    Please “Vote As Helpful”
    if you find my contribution useful or “Mark As Answer” if it does answer your question. That will encourage me - and others - to take time out to help you.

  • After deleting an email address from Contacts is there any way of preventing it from popping up in the To: field of Mail when one starts to type in a contact name.

    After deleting an email address from Contacts is there any way of preventing it from popping up in the To: field of Mail when one starts to type in a contact name?

    if you are not on ios 6, then all you can do is wait.  if you have deleted the address from your contact list, then it will live on for a while in your 'recently used' addresses.  as you use new addresses, those older ones fall down the list, and eventually fall off altogether  (unless you use them again).  Have patience, it will go away.
    Or do the update....

  • Is there a program to extract email addresses from a searchable pdf?

    Is there a program that will extract email addresses from a searchable pdf?
    I scanned a 75 page excel spreadsheet and used OCR to create a searchable pdf. I've verified that the OCR did work, the email address are searchable, but I need a way to extract them from the pdf so that I can add them to an email list database. There is other data in the spreadsheets that is not needed and it is making it impossible to just copy and paste. Does anybody know if there is a program available that works on the mac platform for this. Any help is greatly appreciated. Thanks!
    Nate

    Nate B- wrote:
    Is there a program that will extract email addresses from a searchable pdf?
    I scanned a 75 page excel spreadsheet and used OCR to create a searchable pdf. I've verified that the OCR did work, the email address are searchable, but I need a way to extract them from the pdf so that I can add them to an email list database. There is other data in the spreadsheets that is not needed and it is making it impossible to just copy and paste. Does anybody know if there is a program available that works on the mac platform for this. Any help is greatly appreciated. Thanks!
    Nate
    Nate,
    You might want to repost this in the Unix forum, or one of the scripts forums here:
    AppleScripts: http://discussions.apple.com/forum.jspa?forumID=724
    Unix: http://discussions.apple.com/forum.jspa?forumID=735
    Automator: http://discussions.apple.com/forum.jspa?forumID=1261

  • Accessing a user email address from the database

    Hi,
    I really need help with the following.
    I am adding functionality where users can set reminders that will then be sent to them by email when the reminder is due. I am going to utilise dbms_job to do this. My problem is that I am using apex authentication and users for the rest of the application and I need to retrieve the email address from apex. I cannot use wwv_flow_users as the email will be sent from a job in the database therefore there will be no current logged in user / workspace / session.
    There must be some way of accessing an internal apex table / view or something that can tell me what the email addresses of my users are without being signed into an apex session.
    Please help, this is quite urgent.
    Thank you in advance.
    Lee

    Hi,
    Glad to see that you've found.
    However would be very interesting to know how to retrieve user list without being in an Apex workspace.
    i would do as follows:
    When the first user of the day log into apex you could update a static table containig the email (taken select into from www_flow_user once a day).
    Then via a trigger you could start your batch proc, that needs updated email.
    Is not clean at all, but probably if your firm isn't too big this approach could work.
    By the way if you find how to retrieve the email not using www_flow_user, would be very nice to know.
    Message was edited by:
    Marcello Nocito

Maybe you are looking for

  • ITunes auth problem on Windows 7 64-bit

    Hi, I experience weird issues with the iTunes auth-process on a Windows 7 (64bit) machine. When I try to authorize my computer it results in a message telling me something about connection issues. Anyhow, it seems the computer is kind of activated si

  • What's the trick?  Can't delete loops from Garageband loop browser.

    Am I missing something? I've tried to delete 3rd party loops directly from the Garageband loop browser, but could not. It wouldn't work in Garageband 08, and it won't work in '09. These loops were all added to the library by drag and drop into the lo

  • Final Cut Pro X and Sony Handycam HDR-CX105

    I'm thinking of buying Final Cut Pro X, but the list of compatible cameras here: Cameras supported by Final Cut Pro X - Apple Support doesn't contain the HDR-CX105 - although it seems to contain literally dozens of other Sony AVCHD cameras. Does anyo

  • IWeb hypertext links to pages from my site not "viewable" in some browsers

    I am new to iWeb 08. iWeb created hypertext links to eleven pages from my "top level" site are not "clickable" or viewable in some browsers yet the hyperlinks I added on top page to other sites don't present a problem. No problem with Safari or AOL D

  • Send video signal to tv

    I just got the component AV cable but not sure i know how to send the video signal from the iPad to the TV.