![]() OpenAttach returns a pointer to an IAttach implementation that provides access to attachment properties.Ĭall the attachment's IMAPIProp::GetProps method to retrieve its PR_ATTACH_METHOD property. For more information, see IMessage::OpenAttach. ![]() Open the attachment by passing the attachment number represented in the PR_ATTACH_NUM column in a call to the message's IMessage::OpenAttach method. To open all attachments in a messageĬall the message's IMessage::GetAttachmentTable method to access its attachment table.Ĭall HrQueryAllRows to retrieve all the rows in the table. Attachment numbers are available through a message's attachment table. For more information, see PR_ATTACH_NUM ( PidTagAttachNumber). Whereas messages and folders are opened using their entry identifiers, attachments are opened using their attachment numbers - PR_ATTACH_NUM properties. For example, when a file attachment is opened, the contents of the file are displayed. Opening an attachment involves displaying its data.
0 Comments
Leave a Reply. |