- Регистрация
- 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:
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);
}