Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_cdo thread: sort the sent date


Message #1 by "jingle" <jingle_yeung@h...> on Mon, 26 Mar 2001 03:48:31
I am using CDONTS. In my program, the date of email are arranged in random 

order. 

I would like to know how to sort the date of email?
Message #2 by "nick charlesworth" <nick@i...> on Mon, 26 Mar 2001 09:21:56
Hi,



this works in cdo, not sure about cdonts,



Get your message collection - colMsgs



colMsgs.Sort 2, CdoPR_CREATION_TIME



the first parameter can be 1 or 2 for ascending or descending, the second 

parameter is a mapi property (full list found in cdo help file).



> I am using CDONTS. In my program, the date of email are arranged in 

random 

> order.


  Return to Index