The function Message.Process() sometime go into infinite loop.
It's hard to debug this error, my program is something like the following:
```
// try to schedule a one gmail checking
while(true)
{
-open connection
-login
foreach(var mes in Messages)
{
if(mess.Process()) => go into infinite loop after about 1.5 day ~ 400th loops, hard to debug.
{
// do something
}
}
- logout and close connection
- wait 5 minutes
}
```
Comments: ** Comment from web user: pavel_azanov **
It's hard to debug this error, my program is something like the following:
```
// try to schedule a one gmail checking
while(true)
{
-open connection
-login
foreach(var mes in Messages)
{
if(mess.Process()) => go into infinite loop after about 1.5 day ~ 400th loops, hard to debug.
{
// do something
}
}
- logout and close connection
- wait 5 minutes
}
```
Comments: ** Comment from web user: pavel_azanov **
Hi,
thank you, I received the message, will test and try to fix the issue in the next days
Best regards,
Pavel Azanov