Minggu, 29 November 2015

[MS_AccessPros] Importing emails from Outlook Sent Items folder

 

Hi everyone – hopefully you can help with this.  I've successfully imported emails from an Outlook folder by creating an instance of Outlook in my VBA code, working through the mail items in a specified folder and building a string for each item.  I need the "real" email address of the person sending the email and found out that by building a string including strSQL = "From: " & .SenderName gave me what I wanted.

However, I now need to do the same for emails sent in reply.  I'm looking at the "Sent Items" folder but, and it's a big but, the .To fieldname is not giving me the "real" email address.  It says "RayFrew" instead of rayfrew@gmail.com.  I tried using the .Recipients fieldname but that gave an error.

Has anyone any pointer on this?

Many thanks

Ray


__._,_.___

Posted by: rayfrew@gmail.com
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (1)

.

__,_._,___

Tidak ada komentar:

Posting Komentar