mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
Core/SMTP: RequestTimeout fixed
git-svn-id: svn://ultimatepp.org/upp/trunk@7606 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
f88308530b
commit
1b504a601b
1 changed files with 2 additions and 0 deletions
|
|
@ -339,6 +339,8 @@ bool Smtp::Send(const String& msg_)
|
|||
if(!Connect(host, Nvl(port, ssl ? 465 : 25)))
|
||||
throw Exc(Format("Cannot open socket %s:%d: %s", host, port, GetErrorDesc()));
|
||||
|
||||
GlobalTimeout(request_timeout);
|
||||
|
||||
String ans;
|
||||
|
||||
if(ssl)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue