step 1) create instance to imap step 2) Read the mail and SetMailFlag Deleted with 1 in the loop step 3) once reading of all mails completed ExpungeMailbox is called
is the above steps are optimied or we need to call ExpungeMailbox every batch like 100 mails reading is finished.
Note: which smtp server is better to use like micro soft exchange server or Linux Ubuntu open source.
Thanks and Regards, Harish Chepuri.
asked May 28 '13 at 05:47