Core/SMTP: RequestTimeout fixed

git-svn-id: svn://ultimatepp.org/upp/trunk@7606 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2014-08-26 07:24:22 +00:00
parent f88308530b
commit 1b504a601b

View file

@ -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)