Author |
|
namtuk Newbie
Joined: 18 December 2006 Location: France
Online Status: Offline Posts: 35
|
Posted: 21 November 2007 at 6:49am | IP Logged
|
|
|
Dear,
As my application use POP3 and IMAP4 mailbox i need to get all messages in the same format.
My code connect to POP3 and return the Messages collection, then connect to IMAP4 and return the Envelopes collection. So how to convert the Envelopes into Messages collection (or Messages into Envelopes)?
Regards,
Jean-claude
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 22 November 2007 at 8:29am | IP Logged
|
|
|
IMAP4 object always returns multiple IMAP4 responses as Envelopes collection.
You should get envelopes using RetrieveEnvelopesEx method with AlsoGetMessagePreview parameter
set to True. After that, use Envelope.MessagePreview property to get Message object for the corresponding envelope.
Regards,
Alex
|
Back to Top |
|
|