Pulling email addresses from a mailbox

I have a request from a client to extract email addresses only from all senders to a marketing mailbox. the purpose is to use just the addresses and create a marketing distribution list. The mailbox has been in use for over a year and has thousands of
emails from different sender's. Would anyone have a trick to query the box and get a list of just sender's addresses from the inbox?

sounds like we need to be little bit tricky here..
which exchange you use ?
I will do this if i was in your situation
I will search the logs to that mailbox from toolbox(exchange console has that capabilities) and search logs. I will use filter for recipient and search the emails.
From there you might be able to extract the email addresses only by exporting logs and view it from excel or compatible application.
see below :)
use that command below and export the logs in csv. take the sender email address only
For eg:
http://exchangeserverpro.com/searching-message-tracking-logs-by-sender-or-recipient-email-address/
http://blogs.technet.com/b/exchange/archive/2008/12/01/3406581.aspx
UMESH DEUJA MCP,MCTS,MCSA,CCNA

Similar Messages

  • Extracting email address from all mailbox in Exchange 2010

    Dear Team,
    I've requirement where i need to pull all the email addresses from all user mailbox accounts in exchange 2010. I need all email addresses to which we've send emails to/Communicated with and all received email addresses. Is there any script or Power Shell
    command to extract email addresses from all mailboxes in our domain(Send and Receive)
    Appreciate your quick help.
    Thanks,
    Mike Baig

    No it is not very clear but this is what I understood...
    "which we've send emails from our domain" - From address should be always primary smtp address.
    "which we've received emails to our domain" - This can be secondary smtp addresses as well.
    To get all email addresses (including secondary smtp addresses) you can use below...
    get-mailbox -ResultSize unlimited | Select displayname, primarysmtpaddress, @{Name="Email Addresses";Expression={[string]::join(', ', $_.EmailAddresses)}} | Export-Csv emailaddress.csv -NoTypeInformation
    Blog |
    Get Your Exchange Powershell Tip of the Day from here

  • Getting error when I try to remove eum secondary email address from the Mailbox from Exchange 2013 server

    Getting error when I try to remove eum secondary email address from the Mailbox from Exchange 2013 server. The command works if you issue directly from the server exchange shell.
    I open the remote power shell to the exchange server 2013.
    Issue the following commands and getting the following error.
    $mailbox = Get-Mailbox -Identity testuser$mailbox.EmailAddresses -= "eum:50004;phone-context=telExt5digits.lync5.com"Then getting the following error:Method invocation failed because [System.Collections.ArrayList] doesn't contain a method named 'op_Subtraction'.
    At line:1 char:27
    + $mailbox.EmailAddresses -= <<<<  "eum:50004;phone-context=telExt5digits.lync5.com"
        + CategoryInfo          : InvalidOperation: (op_Subtraction:String) [], RuntimeException
        + FullyQualifiedErrorId : MethodNotFoundHelp!

    Now for an answer - your remote session doesn't have the same object you have on the server itself.  Notice it says this is an array list, not a ProxyAddressCollection.  If you need to work around this, you'll need to massage the addresses another
    way that the system will accept.  I'd try the following:
    $NewAddresses = $mailboxEmailAddresses | ? { $_ -notlike "eum:50004;phone-context=telExt5digits.lync5.com" }
    See what you get in the $NewAddresses variable when you do this.

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

  • Call for email address from database?

    Hi
    I'm pretty new to asp pages.
    I've got hundreds of customer contact forms that I would like
    to create as
    .asp pages, so that when the form is sent it calls for the
    email addresses
    to send it to from a database.
    This is an attempt to hide the customers email address from
    showing on the
    website.
    Can anyone please point me in the direction of a newbie
    tutorial?
    Many thanks
    Craig.

    fbcojman wrote:
    > I am storing a field for email address in my MySQL
    database. I'd like, when
    > using PHP to pull from my database, when the email field
    is returned, for it to
    > be a link to that email address.
    <a href="mailto:<?php echo $row_recordsetName['email'];
    ?>"><?php echo
    $row_recordsetName['email']; ?></a>
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Message about my BT email address from BT desktop ...

    Despite having a fully functional BT email address that U use via Microsoft Outlook, I receive this message from BY desktop help about it:
    Utilities
    Email trouble shooting
    No email account
    The email Assistant has completed a search of your computer and has not been able to detect any BT email accounts, However if you use an alternate email service the problem could be caused by this account. Currently the email trouble shooter only supports BT email accounts.
    If you have a BT email account and would like us to set up your email account in Microsoft Outlook Express, Outlook or Windows mail click the create account button below.
    The email assistant found the following non BT Internet email accounts on your computer, please check with the support websites for these email services for further help in fixing your issue.
    yas*****topenworld.com  
    Can anyone help me to understand why and what to do about it?   Thanks, Yasmin

    Hi Yasmin737, you may want to *** out some of your email address, otherwise you mailbox could be full of the most unwelcome mail.
    toekneem
    http://www.no2nuisancecalls.net
    (EASBF)

  • Email address from address book on E72 and removin...

    Hi,
    I like my E72 but I have two problems that really annoy me.
    1. In the past when ever I would write a new email I would get list of suggested email addresses in the "To" field. For example, if I would was to write the letter S I would get the email address of the people in my address book whose name starts with an S (sam, Sofia etc).
    for some reason this feature stopped working on my phone and I can't find how to make it work again. if I want to send an email I need to manually write the email address in the "To" field.
    The auto suggestion feature works perfectly on my wife's phone (an E72 with the same firmware – 22.007) but on my phone it won't suggest email addresses from my contacts.
    2. Another problem is that my Gmail that is synced to the phone, through the Nokia Messenger server is locked on "hide emails older than 2 weeks". Now, I have hundreds of emails stored on my phone that dates to February 1st – the day I got the Phone!
    Is there a way to delete these emails automatically, without deleting them on the Gmail account itself? It makes my phone really when going through the emails.
    Thanks in advance,
    External

    Hullo all...
    I've fixed the problem with my email service on E72. The thing is, there's something wrong with the Nokia Messaging service. So I turned the service off. But you must remove the inbox properly, that is from the web site email/nokia.com, and manage your inbox from there and not from your cell phone.
    Remove it, and make a new settings on your E72 for your preferable mailbox. When they asked you about to accept or decline the Nokia Messaging service, declined it, and set your mailbox without using Nokia Messaging. Yes the e-mail doesn't instantly sent to your inbox, but you can set the timing to always enabled synchronization, and set it to every 5 minutes. It will delivered flawlessly to your E72, and you'll get a full control for your inbox and everything without being 'locked' by nokia messaging. You can decide how much email you'd like exactly in your inbox, sent, etc. You can decide the period and everything. The device are fully functional and do very well job in maintaining email, but not Nokia Messaging. (Nokia Messaging Team, please take a serious action.)
    This step will also fix your problem on email address from address book on E72. I don't really know what the connection between them, but it seems that it needs to connect to the internet to make this feature enabled. (it's kind of strange since the email in the address book is in the phone memory, not in the 'cloud' server). It sometimes happen if you don't have the internet connection, but once you had it, the problem solved.
    I hope this will fix your problem. Let me know
    AL

  • How do you delete an email address from your iPhone that's not in your contacts?

    How do you delete an email address from your iPhone that's not in your contacts?

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode

  • How can I copy an email address from the form results while online?

    Our form contains a field where the users submitted their email address.  But I am not able to mouse over this data in the "View Responses" tab, and copy the email address by selecting the email address and Ctrl C, and neither can I right-click this data field and copy it.
    Our organization just switched to Microsoft Office 365, and "mailto" links on web pages can no longer be clicked to launch a native desktop email client program.  So the users tasked with responding to forms submitted via Formscentral now have a much harder workflow.  They are compelled to download the data as a spreadsheet, just to be able to cut and paste an email address into their reply email.
    I suggest and request that the Flash-based "View Responses" tab be modified to allow email addresses to be selectable and able to be  copied to the "clip board".  This would allow users who can't execute a clickable mailto link to copy and paste the email address from Formscentral into a new email.  Many organizations like mine are moving away from native client-based email programs like Outlook to save money,  in favor of cloud based SAS web-based email like Office 365.
    Is there some other way to enable mailto links where no client email program is installed on the users PC?
    Thanks,
    -Dave Bartholomew

    While I am still looking for a better answer, I've discovered a way to cut and paste email addresses from the FormsCentral "View Responses" dashboard.  I wrote up the instructions to help our users and thought I'd share them in this forum as well.
    But it would be nice if there was a simpler solution...  Can anyone offer a better way?
    -Dave B
    ) Right-click on the email address
    ) Select “Filter by: …”  Doing this will change the view to show only entries that were sent from the selected email address.
    ) And it will display the Filter in the header of the form.
    ) Left-click on the email address displayed in the filtered results, in the header of the form.
    ) A new sub-form will appear, and the email address can be cut and pasted from this new sub-form.  Highlight the email address and hit “Ctrl C”, or right-click and select copy.
    ) Now you can paste the email address into a new email in Office 365. (Ctrl V) or right-click and select “Paste”
    ) Click the “Clear” button and then “OK” to exit the filtered view of the data.

  • In Mail, how do I make it so that email replies to me are sent to the email address from which I sent my original message?

    I have two IMAP accounts set up in Mail, one work and one personal. The personal account also receives emails from a third account (but I have that set up through gmail's forwarding, not Mail). I am sending emails from my work account and replies are coming to this third account, which I don't want to happen.
    How do I make it so that replies to me are sent to the email address from which I sent my original message?
    Thanks for your help!

    Send Apple feedback. They won't answer, but at least will know there is a problem. If enough people send feedback, it may get the problem solved sooner.
    Feedback
    Or you can use your Apple ID to register with this site and go the Apple BugReporter. Supposedly you will get an answer if you submit feedback.
    Feedback via Apple Developer

  • 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

  • HT204053 how do i change my icloud email address from the one i already have input?

    how do i change my icloud email address from the one i already have input?

    Hi sparkie,
    You cannot change your iCloud email address. It is an @me.com address, and is associated specifically with that iCloud account. If you want a different @me address assigned, you have to delete the current iCloud account and set up a new one.
    Here is a link with all the support information for iCloud:
    http://www.apple.com/support/icloud/
    Hope this helps!
    Cheers,
    GB

  • How do i switch a facetime email address from one ipod to a different one. thanks

    how do i switch a facetime email address from one ipod to a different one. when i try to use the address on the new ipod it says it is already to use

    Have you looked here:
    iOS: FaceTime is 'Unable to verify email because it is in use'

  • How do I remove an obsolete email address from my ipad

    how do I remove an obsolete email address from my ipad?

    If, when you see the address, you see a white arrow in a blue circle to the right, press that symbol.  You would see a "Delete" option at the bottom.

  • How do I remove an old email address from my apple ID account?

    How do I remove an old email address from my apple ID account?

    Depending upon the address (some Apple addresses can't be removed) then you may be able to remove it by logging into the account via the 'manage your apple id' link on http://appleid.apple.com

Maybe you are looking for

  • Using Select all to create multiple lines in a sales order

    Hello SAP experts, In our business practice users create multiple line sales orders with reference to contracts and use the copy paste method and then assign each line to the contract manually. After a few years of this practice i found a new way to

  • Ps command , DB credentials visible on command line.

    Guys, In one of my shell scripts, I connect to the database as below: sqlplus -s /nolog <<EOF >> ${LOG_FILE} CONN ${DB_CONNECT} I would assume that my database connect credentials will not be visible in the command line , when someone executes comman

  • Can't share anything but Public folder?

    I've created a folder and turned on file sharing. In System Preferences -> Sharing, this and my Public Folder appear as shared folders, but other users on my network can only see the Public folder. I've checked that "everyone" can "read and write" to

  • Defaulting to index.cfm

    I'm responsible for several CF sites on the same server and each new project provides new challenges - this one is really irritating me though. I'm using a CF breadcrumb script to map out where users are in the site; it searches the directory and lis

  • CS6 won't open after download..

    I just downloaded the cs6 Beta, and it won't open.. a pop up states * Archive Verification Failed * does it not work any more?