Issue with email limit

shabbysquire

Client
Регистрация
25.11.2012
Сообщения
544
Благодарностей
26
Баллы
28
I'm using a C# action to retrieve emails (code was taken from ZP forums), but I'm having issues with a limit.

The Outlook inbox has approx 500 mail, but I keep getting the following message:



Error ID: 01ac3260-fa72-4da2-85e9-30a03c16d48d

I tried to adjust the 24*100, 1000, but no luck. The code I'm using is:

Код:
Tuple<string, string, string, string>[] allMails;
allMails = ZennoPoster.BulkMailDownload("[email protected]",
       "password", "imap-mail.outlook.com", 993, true,
       ZennoLab.InterfacesLibrary.Enums.Email.EmailProtocol.IMAP,
       24*100, 1000, 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.Item4);//body of the text message
       project.Tables["Tabl1"].AddRow(tmp);
}
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
Try to increase this

upload_2015-4-14_12-36-29.png
 
  • Спасибо
Реакции: shabbysquire

shabbysquire

Client
Регистрация
25.11.2012
Сообщения
544
Благодарностей
26
Баллы
28
I doubled it to 20 MB, and it seems to do the trick. Thanks for the tip.
 

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