I have some problems using CDO for retrieving the attachments to a mail message: After importing the CDO.DLL I am using smart pointers to traverse the inbox in the following way: MessagesPtr pMessages = pFolder->Messages; ? MessagePtr pMessage = pMessages->Item[ i ]; AttachmentsPtr pAttach = pMessage->Attachments; And from here, I am lost. No matter what I do, I cannot retrieve an interface describing an attachment as someone would see it in Outlook (let?s say): File Name Content So on.. I have tried to use: AttachmentPtr atch = pAttach->Item[idx]; But all I can get here is on idx=1 and it is looking like all the multipart transmission Any Idea?
Sory about this posting Actually that was the attachement. It looks like it is an SMIME and I should dig inside it if I want more Regards