Solved

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

Posted on 2004-04-05
4
1,030 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
  • 2
4 Comments
 
LVL 7

Accepted Solution

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

Expert Comment

by:petoskey-001
Comment Utility
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
DNS CNAME Configuration 3 46
Cisco layer 3 ring topology 1 49
Windows 7 Share with XP 22 55
Use of Training Budget 12 63
Lets look at the default installation and configuration of FreeProxy 4.10 REQUIREMENTS 1. FreeProxy 4.10 Application - Can be downloaded here (http://www.handcraftedsoftware.org/index.php?page=download) 2. Ensure that you disable the windows fi…
If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

728 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now