N
Nuno
Hello!
I hant to now wich is the best way to get a _MailItem from an
attachment that is of the type olEmbeddeditem?
It's necessary to save it to disk and open like a mail item? if is how
this is done? or we can do something like this:
....
AttachmentPtr att = attac->Item(l);
_MailItemPtr pMailSubItem;
hr = att->QueryInterface(__uuidof(_MailItem),(void**)&pMailSubItem);
This way does not work, it gives E_NOINTERFACE
What's the best way to do it?
Thanks
Nuno
I hant to now wich is the best way to get a _MailItem from an
attachment that is of the type olEmbeddeditem?
It's necessary to save it to disk and open like a mail item? if is how
this is done? or we can do something like this:
....
AttachmentPtr att = attac->Item(l);
_MailItemPtr pMailSubItem;
hr = att->QueryInterface(__uuidof(_MailItem),(void**)&pMailSubItem);
This way does not work, it gives E_NOINTERFACE
What's the best way to do it?
Thanks
Nuno