Solved

How to get address of a sender in SMTP Format from outlook mailitem.

Posted on 2004-04-05
4
1,033 Views
Last Modified: 2013-12-14
I am accessing mail items in outlook using Outlook 10.0 Type Library.
I want to get the address of sender in SMTP format (as abc@xyz.com).
Right now, the mailItem.SenderName gives me the name of the sender as (Firstname, lastname).


thanks in advance,
krovi
0
Comment
Question by:sarmakdvsr
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 7

Accepted Solution

by:
petoskey-001 earned 250 total points
ID: 10759280
use the SenderEmailAddress property instead of the SenderName property.
0
 
LVL 7

Expert Comment

by:petoskey-001
ID: 10759302
If your using an older version of Outlook, you can check this link...

    http://www.outlookcode.com/d/code/getsenderaddy.htm

for code samples on how to pull the address when it isn't available directly from the object model.
0

Featured Post

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
OSPF - Convergence & Downtime 9 78
Home firewall recommendations 11 94
Best strategy to Speed up backup transfer rate between Datto device and Hyper V - Host 5 45
SSL-VPN 1 53
PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
For many of us, the  holiday season kindles the natural urge to give back to our friends, family members and communities. While it's easy for friends to notice the impact of such deeds, understanding the contributions of businesses and enterprises i…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question