I have little experience with Visual Basic. I see a number of examples of sending emails via MAPI with more than one attachment, but none regarding receiving emails via MAPI with multiple attachments. Can anyone show me an example of reading the pathnames of all email attachments via MAPI in Visual Basic 6?
The first time I use:
MsgBox MAPIMessages1.AttachmentPathName
I see the path name of the first file as it is stored in a temporary internet directory.
I thought that incrementing the value of .AttachmentIndex and then using the same line of code would get me the next pathname, but it doesn't seem to (or I am doing something wrong). Thanks for any example that shows this.
The first time I use:
MsgBox MAPIMessages1.AttachmentPathName
I see the path name of the first file as it is stored in a temporary internet directory.
I thought that incrementing the value of .AttachmentIndex and then using the same line of code would get me the next pathname, but it doesn't seem to (or I am doing something wrong). Thanks for any example that shows this.