why it can't download all the email????please please please help!!!

makecase

Новичок
Регистрация
23.04.2013
Сообщения
26
Благодарностей
0
Баллы
0
hi, my email service is hotmail.com
i need to download all the email in the mailbox for processing, used the c# code throught the way
http://zennolab.com/discussion/showt...ll=1#post47585
but my quesion is: why the code can not download all of my email, it only download about 20 emails in my box, but there are about 70 emails in my box, all the email are unread! please help!!!
the code is:
Код:
Tuple<string, string, string, string>[] allMails;
allMails = ZennoPoster.BulkMailDownload("[email protected]", 
       "qweqwe123", "pop3.live.com", 995, true,
       ZennoLab.InterfacesLibrary.Enums.Email.EmailProtocol.POP3, 
       24*100, 20, false);
 
// loop fo all messages
foreach(Tuple<string, string, string, string> tuple in allMails)
{
    // adding messages to the table called Tabl1
    // tuple.Item1 - sibject, tuple.Item2 - from, tuple.Item3 - html message, tuple.Item4 - text message
      List<string> tmp = new List<string>();
       tmp.Add(tuple.Item1);
       tmp.Add(tuple.Item2);
       tmp.Add(tuple.Item3);
       tmp.Add(tuple.Item4);
       project.Tables["Tabl1"].AddRow(tmp);
}
 

bigcajones

Client
Регистрация
09.02.2011
Сообщения
1 216
Благодарностей
683
Баллы
113
hi, my email service is hotmail.com
i need to download all the email in the mailbox for processing, used the c# code throught the way
http://zennolab.com/discussion/showt...ll=1#post47585
but my quesion is: why the code can not download all of my email, it only download about 20 emails in my box, but there are about 70 emails in my box, all the email are unread! please help!!!
the code is:
Код:
Tuple<string, string, string, string>[] allMails;
allMails = ZennoPoster.BulkMailDownload("[email protected]", 
       "qweqwe123", "pop3.live.com", 995, true,
       ZennoLab.InterfacesLibrary.Enums.Email.EmailProtocol.POP3, 
       24*100, [COLOR="#B22222"]20[/COLOR], false);
 
That is why. Max count of messages.
 

makecase

Новичок
Регистрация
23.04.2013
Сообщения
26
Благодарностей
0
Баллы
0
oh, it is something wrong about the email service, i try again and it runing ok,
the question is solved
please del the thread! thanks!
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)