🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.web
Article #687

Re: Please point me to a simple way of sending an email over secure smtp server

#687
From: ActuaryOne
Date: Mon, 28 Aug 2006 16:58
64 lines
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
>>
>>
>
> 
Technical Details
Message-ID: <44f3244f$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <44f20ecb$1@newsgroups.borland.com> <44f29cbc$1@newsgroups.borland.com> <44f2ed40$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,61c998a6a37c4173
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "ActuaryOne" <CharlesLeggette@EarthLink.net>
Newsgroups: borland.public.cppbuilder.internet.web
References: <44f20ecb$1@newsgroups.borland.com> <44f29cbc$1@newsgroups.borland.com> <44f2ed40$1@newsgroups.borland.com>
Subject: Re: Please point me to a simple way of sending an email over secure smtp server
Date: Mon, 28 Aug 2006 11:58:24 -0500
Lines: 66
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 66.60.79.20
Message-ID: <44f3244f$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1156785231 66.60.79.20 (28 Aug 2006 10:13:51 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail