Thread View: borland.public.cppbuilder.internet.web
5 messages
5 total messages
Started by CharlesLeggette
Sun, 27 Aug 2006 21:22
Please point me to a simple way of sending an email over secure smtp server
Author: CharlesLeggette
Date: Sun, 27 Aug 2006 21:22
Date: Sun, 27 Aug 2006 21:22
2 lines
1085 bytes
1085 bytes
Darn Indy's difficult, I just want to send a simple email over earthlink.net or some other secure server...any help would be appreciated.
Re: Please point me to a simple way of sending an email over secure smtp server
Author: Remy Lebeau (TeamB)
Date: Mon, 28 Aug 2006 07:23
Date: Mon, 28 Aug 2006 07:23
17 lines
1455 bytes
1455 bytes
"CharlesLeggette" <CharlesLeggette@earthlink.net> wrote in message news:44f20ecb$1@newsgroups.borland.com... > Darn Indy's difficult What is so difficult about it exactly? Install the correct OpenSSL DLLs, hook up an SSL IOHandler to the SMTP connection, and then send the message. Please be more specific about what exactly you are having a problem with. > I just want to send a simple email over earthlink.net or > some other secure server... Security is not a simple task. Gambit
Re: Please point me to a simple way of sending an email over secure smtp server
Author: CharlesLeggette
Date: Mon, 28 Aug 2006 13:18
Date: Mon, 28 Aug 2006 13:18
23 lines
1693 bytes
1693 bytes
Do you have an example...thanks. "Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message news:44f29cbc$1@newsgroups.borland.com... > > "CharlesLeggette" <CharlesLeggette@earthlink.net> wrote in message > news:44f20ecb$1@newsgroups.borland.com... > >> Darn Indy's difficult > > What is so difficult about it exactly? Install the correct OpenSSL DLLs, > hook up an SSL IOHandler to the SMTP connection, and then send the > message. > Please be more specific about what exactly you are having a problem with. > >> I just want to send a simple email over earthlink.net or >> some other secure server... > > Security is not a simple task. > > > Gambit > >
Re: Please point me to a simple way of sending an email over secure smtp server
Author: ActuaryOne
Date: Mon, 28 Aug 2006 16:58
Date: Mon, 28 Aug 2006 16:58
64 lines
2803 bytes
2803 bytes
Ok i create an app added a TidSmtp object, object IdSMTP1: TIdSMTP IOHandler = IdSSLIOHandlerSocket1 MaxLineAction = maException Host = 'mail.leggette.com' Port = 25 AuthenticationType = atLogin HeloName = 'Leggette' Password = '10877' Username = 'charlie' Left = 192 Top = 72 end , a object IdSSLIOHandlerSocket1: TIdSSLIOHandlerSocket SocksInfo = IdSocksInfo1 SSLOptions.Method = sslvSSLv2 SSLOptions.Mode = sslmUnassigned SSLOptions.VerifyMode = [] SSLOptions.VerifyDepth = 0 Left = 143 Top = 136 end and a object IdSocksInfo1: TIdSocksInfo Authentication = saUsernamePassword Host = 'mail.leggette.com' Password = '10877' Username = 'charlie' Left = 248 Top = 128 end But I get a timeout when I try to connect thru the Smtp object. Any hints....is there anyway I can verify that the mail server is answering my connect request??? "CharlesLeggette" <CharlesLeggette@earthlink.net> wrote in message news:44f2ed40$1@newsgroups.borland.com... > Do you have an example...thanks. > "Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message > news:44f29cbc$1@newsgroups.borland.com... >> >> "CharlesLeggette" <CharlesLeggette@earthlink.net> wrote in message >> news:44f20ecb$1@newsgroups.borland.com... >> >>> Darn Indy's difficult >> >> What is so difficult about it exactly? Install the correct OpenSSL DLLs, >> hook up an SSL IOHandler to the SMTP connection, and then send the >> message. >> Please be more specific about what exactly you are having a problem with. >> >>> I just want to send a simple email over earthlink.net or >>> some other secure server... >> >> Security is not a simple task. >> >> >> Gambit >> >> > >
Re: Please point me to a simple way of sending an email over secure smtp server
Author: Remy Lebeau (TeamB)
Date: Mon, 28 Aug 2006 20:41
Date: Mon, 28 Aug 2006 20:41
23 lines
1860 bytes
1860 bytes
"ActuaryOne" <CharlesLeggette@EarthLink.net> wrote in message news:44f3244f$1@newsgroups.borland.com... > Ok i create an app added a TidSmtp object, <snip> > But I get a timeout when I try to connect thru the Smtp object. Try setting the TIdSMTP.UseTLS property to utUseExplicitTLS, and the TIdSSLIOHandlerSocket.PassThrough property to True. You are probably trying to establish a secure connection to the server as soon as Connect() is called, which is too soon. SMTP requires the connection to be secured via the STARTTLS command after an unsecure connection has been established first. > is there anyway I can verify that the mail server is answering > my connect request??? You need to use a packet sniffer for that, such as Ethereal (http://www.ethereal.com). 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