Can not catch BulkMailDownload program exception

gongyouze

Пользователь
Регистрация
26.06.2014
Сообщения
42
Благодарностей
0
Баллы
6
I can not catch this exception and the program will not stop, will continue to run, I can not know that I did not mail the message. Download it

MailBee.MailBeeSocketTimeoutException: Socket connection has timed out.



2016-10-23 00:00:19.8316|WARN|ZennoLab.LogLibrary.InternalError|Error occured in module "e-mail processing"
Message: "MailBee.MailBeeSocketTimeoutException: Socket connection has timed out. InnerException message follows: 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。 ---> System.Net.Sockets.SocketException: 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。
在 System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
在 System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
--- 内部异常堆栈跟踪的结尾 ---
在 a.i.a(Exception A_0)
在 a.i.a(Byte[] A_0, Int32 A_1)
在 a.av.a(Byte[] A_0, Int32 A_1)
在 a.ax.aj()
在 a.ax.b(Byte[] A_0, b A_1)
在 a.ax.b(String A_0, b A_1)
在 a.au.a(String A_0, b A_1, Boolean A_2)
在 a.ap.a(SaslMethod A_0)
在 a.ap.a(SaslMethod A_0, String A_1, String A_2, String A_3, String A_4, String A_5)
在 a.ap.a(AuthenticationMethods A_0, AuthenticationMethods A_1, SaslMethod A_2, AuthenticationOptions A_3, String A_4, String A_5, String A_6, String A_7)
在 a.au.a(AuthenticationMethods A_0, AuthenticationMethods A_1, SaslMethod A_2, AuthenticationOptions A_3, String A_4, String A_5, String A_6, String A_7)
在 a.au.b()
在 a.i.e.c(Boolean A_0)
在 a.i.e.b()
在 a.ae.az()
在 a.k.a(Boolean A_0, String A_1, String A_2, String A_3, String A_4, AuthenticationMethods A_5, AuthenticationOptions A_6, SaslMethod A_7)
在 a.k.a(Boolean A_0, String A_1, String A_2, AuthenticationMethods A_3)
在 ZennoLab.ZennoPoster.Modules.Email.MailDownloader.tYIy8wTGb9D74tKn2caY(Object , Object , Object , AuthenticationMethods )
在 ZennoLab.ZennoPoster.Modules.Email.MailDownloader.ProcessPop3Task(MailTask tsk)
在 ZennoLab.ZennoPoster.Modules.Email.MailDownloader.gZjXiwTGv4mVvdBtQiBT(Object )
在 ZennoLab.ZennoPoster.Modules.Email.MailDownloader.weouw7VoiOC()"
2016-10-23 00:00:20.1606|INFO|ZennoLab.LogLibrary.InternalError|Event in module "Execution of C# code of action id: e101f022-0ceb-45f8-a404-6ad347b07adf action group id: faf5bdbf-c229-4bf6-9058-aca85aa7ef89"
Message: "Result:ok"
2016-10-23 00:00:33.7884|INFO|ZennoLab.LogLibrary.InternalError|Event in module "Execution of C# code of action id: e101f022-0ceb-45f8-a404-6ad347b07adf action group id: faf5bdbf-c229-4bf6-9058-aca85aa7ef89"
Message: "Result:ok"
2016-10-23 00:00:41.6808|INFO|ZennoLab.LogLibrary.InternalError|Event in module "Execution of C# code of action id: e101f022-0ceb-45f8-a404-6ad347b07adf action group id: faf5bdbf-c229-4bf6-9058-aca85aa7ef89"
Message: "Result:ok"


try
{
allMails = ZennoPoster.BulkMailDownload(emailName, emailPassword, emailServer, emailPort, useSSL, ZennoLab.InterfacesLibrary.Enums.Email.EmailProtocol.POP3, 24 * 100, 1000, false);
}
catch (Exception ee)
{
throw new Exception("邮箱无法获取1" + ee.Message);
}
QQ截图20161023000539.jpg
 

Вложения

VladZen

Administrator
Команда форума
Регистрация
05.11.2014
Сообщения
22 279
Благодарностей
5 857
Баллы
113
What ZP version do you use? We recommend to update to 5.10.0.2. We have updated e-mail processing in it.
 

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