Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reading Outlook EMails into Access 2000

Status
Not open for further replies.

1897

Programmer
Jan 28, 2002
8
GB
When i read in an Outlook Email in Access and try to retrieve the senders email address it just gives the name of the person and not the actual email address it was sent from. I've currently got this bit of code.

rst!EMail = MailObject.SendersName

Does anyone know what code i need to retrieve the actual senders EMail Address. I'm Using Access & Outlook 2000

Thanks
 
Use SenderEmailAddress instead of SenderName (not Sender[red]s[/red]Name)

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
When i use SenderEMailAddress i get the error 'Object doesn't support this property or method'
 
which kind of object is MailObject ?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top