Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access VBA
|
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 26th, 2005, 04:52 AM
Authorized User
 
Join Date: Jul 2005
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to capture sender email address (from)

I have used:

objMailItem.SentOnBehalfOfName

and it captures the name but not the email address??

Is there a way to capture also the address??

************************************************** **
I have played around a bit more and also "SenderName" seems to do the job.
It seems that if the sender is in my address book then the name comes from there and will leave email address off. If from has the [email protected] (and not specified in the address book) then that will be captured.

Axxess





Similar Threads
Thread Thread Starter Forum Replies Last Post
object to capture Outlook email Tiffany Beginning VB 6 4 April 21st, 2006 05:45 AM
How to validate email address crmpicco Javascript How-To 2 February 16th, 2005 10:56 AM
Validate Email address richardtr BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 6 November 23rd, 2004 01:45 PM
capture the ip address of the client ranakdinesh BOOK: Professional C#, 2nd and 3rd Editions 1 June 1st, 2004 09:31 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.