Thread View: borland.public.cppbuilder.internet.socket
4 messages
4 total messages
Started by Jayme Jeffman Filho
Tue, 30 Aug 2005 22:28
SMTP component
Author: Jayme Jeffman Filho
Date: Tue, 30 Aug 2005 22:28
Date: Tue, 30 Aug 2005 22:28
11 lines
983 bytes
983 bytes
Hi, I am looking for a SMTP component which allow authenticated connections to the server. A free one would be perfect. Is there anyone who knows it ? Thanks to all. Jayme.
Re. SMTP component
Author: Elmar Baumann
Date: Wed, 31 Aug 2005 11:50
Date: Wed, 31 Aug 2005 11:50
26 lines
1547 bytes
1547 bytes
>Jayme Jeffman Filho wrote in Article <4314dd65$1@newsgroups.borland.com> >with Subject: SMTP component, on 31.08.2005 00:28:33 > > >I am looking for a SMTP component which allow >authenticated connections to the server. A free one >would be perfect. Hello, try Indy SMTP, from <http://www.IndyProject.org/> Regards Elmar Baumann ------------------------------------------------------------------------------ Indy9 NNTP Internet News Reader/Writer, E. Baumann Software 2005 Portions of this Software are Copyright (c) 1993 - 2005, Chad Z. Hower (Kudzu) and the Indy Pit Crew <http://www.IndyProject.org/>
Re: Re. SMTP component
Author: Jayme Jeffman Filho
Date: Wed, 31 Aug 2005 14:10
Date: Wed, 31 Aug 2005 14:10
36 lines
2019 bytes
2019 bytes
Hello, I'm using C++Builder 6.0 Professional Edition and the Indy Client and Servers components are present in this edition. I've made a simple application, just the component and two TButton components, one to connect to the SMTP server and the other to disconnect. I am trying to connect to the Google Gmail SMTP server ( smtp.gmail.com ). The "Connect()" method seems to succeed but in the OnConnected event, when the application calls the Authenticate() method it raises an exception telling it was disconnected by the peer. The help file shipped along with C++Builder hasn't any worthy example on how using the component, also the examples in the "Examples" directory do not have any example on using the IdSMTP component. Can you point me where can I find a more complete documentation on using the IdSMTP component ? Thanks a lot. Jayme. "Elmar Baumann" <elmar-nospam@anywhere.net> escreveu na mensagem news:43159970$1@newsgroups.borland.com... > Hello, > try Indy SMTP, from <http://www.IndyProject.org/> > > > Regards > > Elmar Baumann
Re: Re. SMTP component
Author: Remy Lebeau (TeamB)
Date: Tue, 06 Sep 2005 05:31
Date: Tue, 06 Sep 2005 05:31
32 lines
2397 bytes
2397 bytes
"Jayme Jeffman Filho" <jaymenosp@jeffman.eng.br> wrote in message news:4315ba0e@newsgroups.borland.com... > I'm using C++Builder 6.0 Professional Edition and the Indy > Client and Servers components are present in this edition. An old version of Indy is shipped with BCB6. That version is long outdated and no longer supported. You need to upgrade the version manually from the downloads available on Indy's website. > I am trying to connect to the Google Gmail SMTP server ( > smtp.gmail.com ). Please go to http://www.deja.com and do a search through the newsgroup archives. Samples have been posted several times that show how to connect to GMail via Indy. > The "Connect()" method seems to succeed but in the OnConnected > event, when the application calls the Authenticate() method it raises > an exception telling it was disconnected by the peer. You cannot call Authenticate() inside the OnConnected event. You must wait until after Connect() has exited before calling Authenticate(). This is because Connect() does other work after the OnConnected event has been triggered. Calling Authenticate() inside the OnConnected event completely breaks the flow of commands that TIdSMTP issues to the server automatically. In fact, TIdSMTP already calls Authenticate() automatically inside of Send(), so you do not need to call Authenticate() manually yourself at all. Gambit
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads