>I seem to remember that files can either be embedded (as OLE objects) or 'attached' to the message. Check the attachment 'type' just in case.
Thanks for the suggestion. I cannot get a hold of the .AttachmentType either. I have been trying with Outlook Express as well now with the same result:
I can see there is an attachment, but I cannot retrieve any info regarding the attachment. I looks as though I am missing something here.
This is the code I am using :
&& Go to a mail with attachment
THISFORM.MAPImessage.MsgIndex = 2
IF THISFORM.MAPImessage.AttachmentCount > 0
&& Just in case...
THISFORM.MAPImessage.AttachmentIndex = 0
&& I get an error on this line as .AttachmentPathName holds no value
lcPath = THISFORM.MAPImessage.AttachmentPathName
ENDIF
(using VFP 3.0 for Win & Mac)