Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copying Emails into a DBF
Message
 
To
14/07/2000 11:43:11
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00392351
Message ID:
00392482
Views:
8
Should be in the Address property of the Recipient object.

>Whoops, I was wrong, that didn't really solve it.
>If I create a reply, then the "to" property, once again, contains the NAME rather than the email address... if the original email came in with NAME instead of email address.
>
>I can't find the email address anywhere.
>
>Can anyone explain further?
>Thanks,
>Joel Aiken
>
>>Thanks, Nigel
>>This solved it.
>>loInbox.items(k).replyrecipientnames
>>
>>Joel
>>
>>
>>>Instigate a reply to the mail and then get the recipient address - that will always return the address, not the name. Then dump the reply.
>>>
>>>>I am trying to copy my incoming OutLook emails into a VFP data table.
>>>>
>>>>I have instantiated an Outlook application in VFP and grab email out of a folder.. like this:
>>>>loOutLook = createobject('outlook.application')
>>>>loSpace = loOutLook.GetNameSpace('MAPI')
>>>>loInbox = loSpace.GetDefaultFolder(6)
>>>>? loInbox.items(1).body
>>>>
>>>>loInbox.items(k).sendername gives me the name of the sender of the kth email. If that name happens to be 'John Smith', that's what I get, and I cannot get his actual email address, like john@abc.com.
>>>>
>>>>Can anyone help me figure out how to retrieve the sender's actual email address?
>>>>
>>>>Thanks,
>>>>Joel Aiken
>>>>joel@patsyaiken.com
Nigel B Coates
NBC Software Services
Dublin, Ireland.
eMail: Nigel.Coates@NBCSoftware.com
Previous
Reply
Map
View

Click here to load this message in the networking platform