[twsocket] vFAQ - SMTPCli - Component not ready

2009-05-10 Thread Ole Braad-Sørensen
I know this is a vFAQ, but please read anyway :-) Using Codegear C++2009, I have tried to use the example "Mailsnd". My code: SMTP->Host = Data->TAoplysning->FieldByName("Mailserver")->AsString; SMTP->Port = Data->TAoplysning->FieldByName("Port")->AsInteger; SMTP->SignOn = Data->TAoplysning-

Re: [twsocket] TWSocket Digest, Vol 321, Issue 1

2009-05-13 Thread Ole Braad-Sørensen
On Mon, 11 May 2009 12:00:01 +, you wrote: >You do not check for ErrCode = 0 in OnRequestDone. >Put a break point before or at the switch statement and single-step >thru the code. That will show you what's wrong. Dont' think that the code I showed was til only code I have tried. I have tried

Re: [twsocket] TWSocket Digest, Vol 321, Issue 4

2009-05-13 Thread Ole Braad-Sørensen
On Tue, 12 May 2009 12:00:01 +, you wrote: >Possibly you need breaks? :-) > >switch(RqType) > { > case smtpConnect: SMTP->Helo(); break; > case smtpHelo: SMTP->MailFrom(); break; > casesmtpEhlo: SMTP->Auth(); break; > casesmtpAuth: SMTP->MailFrom(); break;

[twsocket] Errorcode 23396 when trying to use TSmtpCli in C++

2009-05-17 Thread Ole Braad-Sørensen
On Thu, 14 May 2009 10:31:53 +, you wrote: >> >>> Possibly you need breaks? :-) >>> >>> switch(RqType) >>> { >>> case smtpConnect: SMTP->Helo(); break; >>> case smtpHelo: SMTP->MailFrom(); break; >>> case smtpEhlo: SMTP->Auth(); break; >>> case smtpAuth: SMTP->MailFrom(

[twsocket] Errorcode 23396 when trying to use TSmtpCli in C++

2009-05-17 Thread Ole Braad-Sørensen
On Sun, 17 May 2009 11:32:30 +, you wrote: >I saw similar problem with thttpcli and it went away when I "cleaned >and rebuilt" the ICS package. Isn't life strange. I just updated using SVN, cleaned, rebuilt and installed the ICS package. Would you believe it. Now I don't get the errorcode 23

[twsocket] Errorcode 23396 when trying to use TSmtpCli in C++

2009-05-17 Thread Ole Braad-Sørensen
On Sun, 17 May 2009 11:32:30 +, you wrote: >Please show us what is returned (if anything) when you telnet the mail >server from the same machine from where you tried the C++ EXE. >Command prompt: "telnet 25". The server responds with: 220 apollon.soholm.com ESMTP Sendmail 8.13.2 (and so

Re: [twsocket] Errorcode 23396 when trying to use TSmtpCli in C++

2009-05-18 Thread Ole Braad-Sørensen
On Mon, 18 May 2009 12:00:01 +, you wrote: >All I can say is that it is working nicely with BCB in my little test >application. The problem must be IMO something on your side. >You can sent me your project if you like by PM so I can test it with my >clean ICS installation. If the mail server

Re: [twsocket] Errorcode 23396 when trying to use TSmtpCli in C++

2009-05-22 Thread Ole Braad-Sørensen
Sorry for late reply. Have been away..! On Tue, 19 May 2009 08:31:54 +0200, you wrote: >How did you install it exactely? Did you install for both personalities >from the Delphi personality building the Delphi package with linker >option "Generate All C++Builder Files", or did you install the C+

Re: [twsocket] Errorcode 23396 when trying to use TSmtpCli in C++

2009-05-23 Thread Ole Braad-Sørensen
Hi Arno! In my last message I wrote: >Back to the "Generate C++ .objs, headers, namespaces, export" option, >the ICS installs without errors, but my little simple project fails..! It have been a loong friday evening/night, but it was the worth effort :-) I have tried to remove the complete C

[twsocket] Multiple declaration for 'sockaddr'

2011-12-16 Thread Ole Braad-Sørensen
Hi! Just installed BCB XE and with the DVD was the Overbyte package. I have installed it and trying to use it, but get the error: Multiple declaration for 'sockaddr' I know that it is something to do with the "winsock" file. I have tried to move around with the includes, but no luck. I have a

Re: [twsocket] Multiple declaration for 'sockaddr'

2011-12-17 Thread Ole Braad-Sørensen
I know. This don't chane anything. On Sat, 17 Dec 2011 10:37:26 +0800, you wrote: >Hi, > >Downloading from overbyte is always the best solution. You might want to >download the latest version form ics website. > > >On Dec 17, 2011, at 2:06, Ole Braad-Sørensen wrote