GetTotalMessageCount()

Nov 18, 2009 at 6:48 AM

Hi,

First, thank you for your great work !

But now ... Please help me :)

I dont know why, for POP3, GetTotalMessageCount() always return me 0 ... even if there are email on the server.
Also it says I have no attachment file, although there is (well it's that .... winmail.dat well none for being "horrible" for so many users ... so don't know if it's normal)

Thank you for your help.

 

Nov 19, 2009 at 6:49 AM

Hi,

For POP3, GetTotalMessageCount(), I still don't know but at least seem like it's remembering mails I read before (with a gmail account).
With an hotmail account, it's giving me always the good number.

For the attachment, I use Content to read data. (after reading discussions from this site)

I still dont understand also, why I can't delete mail from the Gmail server.

With Hotmail, I can just do DeleteEMail(id) without ExecuteQuit();

But with Gmail, nor DeleteEMail(id), nor ExecuteDele(id) worked even if I ExecuteQuit(); at the end. (But well since it's like I have a memory from ??? (server ? my service ?) it's okay ... but wanna understand)

 

thank you for your help.

Coordinator
Nov 23, 2009 at 8:10 PM

Some pop3 server implement custom logic to deal with their mail object.
For example,Notes server does not show mail that I have read already.
So I set the mail unread,I can read it.

Perhaps,your encounter issue is such kind of problem.
regard.