
HI All, We recently moved our email server from an in-house server to Office 365. We are now in the process of replacing all our XP boxes with Windows 10. One of the boxes are running the email service which collects emails from Office 365, that we have just recently upgraded. This process works on the XP but times out on windows 10. Attached, is the time out the log file. Below is the code I am using: Basic program code * variables ChannelNo = 0 Pop3Server = 'outlook.office365.com' Pop3User = UserName Pop3Pass = Password Pop3Port = '995' ProxYServer = '127.0.0.1' ProxyPort = '110' ProxyDir = 'C:\see4OI\SSL\' ProxyExe = 'stunnel.exe' ProxyCert = 'stunnel.pem' * retreives mail in MIME format Gosub GET_EMAILS return Mail_Rec * ---------------------------------------------------------------------------- ------------- GET_EMAILS: * close previous session If it wasnt closed properly Code = seeClose(ChannelNo) Code = seeRelease() * attach key code Code = seeAttach(1, KeyCode) if Code < 0 then RetFlag = 1 return end * start stunnel Code = seeSetProxySSL(0, 1, ProxyDir, ProxyCert, ProxyExe) If Code < 0 Then RETURN end * connect to email server Code = seePop3ConnectSSL(ChannelNo, ProxyPort, Pop3Port, Pop3Server, Pop3User, Pop3Pass, ProxyServer) If Code < 0 Then RETURN End Your assistance in this regard will be highly appreciated. Thank you. Kind Regards, Logicore SEDICK CLOETE IT Business Consultant Cell: 083 228 7058 Fax: 086 515 9695 email: sedick@logicore.co.za If you are not the intended recipient of this communication, please notify the sender immediately. The information and/or attachment contained in this email is confidential and may contain proprietary and/or personal information. It is meant solely for the intended recipient. Access to this email by anyone else is unauthorised. If you are not the intended recipient, any processing of the email or the information contained therein (including disclosure, copying, distribution, storage) or any action taken or omitted in reliance on this, is prohibited and may be unlawful.

Is it possible that Windows Defender Firewall is enabled by default and block some network connections ? This kind of timeout has a high potential to be the result of some network dropped packets. On Mon, May 7, 2018 at 1:19 PM, Sedick Cloete <sedick@logicore.co.za> wrote:
HI All,
We recently moved our email server from an in-house server to Office 365.
We are now in the process of replacing all our XP boxes with Windows 10. One of the boxes are running the email service which collects emails from Office 365, that we have just recently upgraded. This process works on the XP but times out on windows 10.
Attached, is the time out the log file.
Below is the code I am using: Basic program code
* variables
ChannelNo = 0
Pop3Server = ' outlook.office365.com'
Pop3User = UserName
Pop3Pass = Password
Pop3Port = '995'
ProxYServer = '127.0.0.1'
ProxyPort = '110'
ProxyDir = 'C:\see4OI\SSL\'
ProxyExe = 'stunnel.exe'
ProxyCert = 'stunnel.pem'
* retreives mail in MIME format
Gosub GET_EMAILS
return Mail_Rec
* ------------------------------------------------------------ -----------------------------
GET_EMAILS:
* close previous session If it wasnt closed properly
Code = seeClose(ChannelNo)
Code = seeRelease()
* attach key code
Code = seeAttach(1, KeyCode)
if Code < 0 then
RetFlag = 1
return
end
* start stunnel
Code = seeSetProxySSL(0, 1, ProxyDir, ProxyCert, ProxyExe)
If Code < 0 Then
RETURN
end
* connect to email server
Code = seePop3ConnectSSL(ChannelNo, ProxyPort, Pop3Port, Pop3Server, Pop3User, Pop3Pass, ProxyServer)
If Code < 0 Then
RETURN
End
Your assistance in this regard will be highly appreciated.
Thank you.
Kind Regards,
[image: Logicore]
SEDICK CLOETE
IT Business Consultant
Cell: 083 228 7058
Fax: 086 515 9695
email: sedick@logicore.co.za
If you are not the intended recipient of this communication, please notify the sender immediately. The information and/or attachment contained in this email is confidential and may contain proprietary and/or personal information. It is meant solely for the intended recipient. Access to this email by anyone else is unauthorised. If you are not the intended recipient, any processing of the email or the information contained therein (including disclosure, copying, distribution, storage) or any action taken or omitted in reliance on this, is prohibited and may be unlawful.
_______________________________________________ stunnel-users mailing list stunnel-users@stunnel.org https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users
participants (2)
-
Flo Rance
-
Sedick Cloete