Re: [twsocket] A bug with Pop3 - followup

2010-07-01 Thread Arno Garrels
DZ-Jay wrote: Zvone wrote: Also... if someone is into Delphi and has wiki access, I would suggest to translate my example code to Delphi. I'm not so much into Delphi so I could make a messy code when translating it but I'll try to keep examples very simple and not use c++-ish stuff like ?:

Re: [twsocket] A bug with Pop3 - followup

2010-07-01 Thread Arno Garrels
Zvone wrote: So if you changed some of the wiki pages now you can surround it with these tags and make your code look nicer. Looks nice with C++, however the Delphi colors should be changed. -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto

Re: [twsocket] smtp error 10061 sending mail on one pc

2010-07-01 Thread Angus Robertson - Magenta Systems Ltd
One pc get Error 10061 on connect when sending any mail, You should use the function GetWinsockErr () or WSocketErrorDesc () (and GetWindowsErr() for files) in OverbyteIcsWSocket, so your application returns textual errors. Angus -- To unsubscribe or change your settings for TWSocket mailing

Re: [twsocket] A bug with Pop3 - followup

2010-07-01 Thread DZ-Jay
On Jul 01, 2010, at 02:55, Arno Garrels wrote: Changed your translation, it was full of bugs and neither followed the official Delphi nor the ICS code format. Sorry, I didn't have Delphi at hand and didn't compile the code, so I missed removing the case keywords from the switch statement.

Re: [twsocket] A bug with Pop3 - followup

2010-07-01 Thread Zvone
So if you changed some of the wiki pages now you can surround it with these tags and make your code look nicer. Looks nice with C++, however the Delphi colors should be changed. I didn't want to go into styling because it is a matter of preference. The colors as they are now are defaults of

Re: [twsocket] smtp error 10061 sending mail on one pc

2010-07-01 Thread Xavier Mor-Mur
Thanks Angus for your tip As I can I'll include this. Xavi Al 01/07/2010 08:59, En/na Angus Robertson - Magenta Systems Ltd ha escrit: One pc get Error 10061 on connect when sending any mail, You should use the function GetWinsockErr () or WSocketErrorDesc () (and GetWindowsErr() for files)

Re: [twsocket] smtp error 10061 sending mail on one pc

2010-07-01 Thread Xavier Mor-Mur
Thanks dZ I'll do more exhaustive check on that pc. Last test I do was include one button with all actions on it's click event and worked fine on two pc's but not on third. If you or someone have any idea where or what to check on that pc where welcome. Thanks again for all Xavi Al

Re: [twsocket] A bug with Pop3 - followup

2010-07-01 Thread Arno Garrels
DZ-Jay wrote: Sorry, I didn't have Delphi at hand and didn't compile the code, so I missed removing the case keywords from the switch statement. That wasn't the only one ;) As for the style, I'll brush up on ICS official guidelines; it's been a while. I like the ICS code style, it's

[twsocket] pop3, buffer and character encoding

2010-07-01 Thread Zvone
OK, I have an issue which I don't entirely understand. The way to check received pop3 message is to create Pop3CliMessageLine event and then add Pop3Cli.LastResponse to your own buffer (UnicodeString) and store that as email. However, this creates a bit of a problem - LastResponse is