Retrieving Senders E-mail address from mail item


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Retrieving Senders E-mail address from mail item

  1. #1
    Mohammed Habib Guest

    Retrieving Senders E-mail address from mail item


    I am looping through a folder of unsubscribe requests and need to retrieve
    the e-mail address. However, mailitem object has no from property and sendername
    property shows the name. Is there any way I can get the sender's e-mail from
    mail item object?

    I appreciate any help.
    Share on Google+

  2. #2
    Stig Holm Guest

    Re: Retrieving Senders E-mail address from mail item


    I suggest that you use the new interface called mapidata, you can find it
    on www.mapidata.com.
    It will probably solve your problem because now you can acces all unstructured
    data.

    "Mohammed Habib" <mohammed@wsacorp.com> wrote:
    >
    >I am looping through a folder of unsubscribe requests and need to retrieve
    >the e-mail address. However, mailitem object has no from property and sendername
    >property shows the name. Is there any way I can get the sender's e-mail

    from
    >mail item object?
    >
    >I appreciate any help.


    Share on Google+

  3. #3
    Siegfried Weber Guest

    Re: Retrieving Senders E-mail address from mail item


    "Mohammed Habib" <mohammed@wsacorp.com> wrote:
    >
    >I am looping through a folder of unsubscribe requests and need to retrieve
    >the e-mail address. However, mailitem object has no from property and sendername
    >property shows the name. Is there any way I can get the sender's e-mail

    from mail item object?

    Outlook object model programming doesn't offer such a property and you need
    to use CDO 1.21. http://www.cdolive.com/cdo5.htm has a code snippet that
    shows how to get it.

    </Siegfried>



    Share on Google+

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center