🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#689
From: Remy Lebeau (TeamB)
Date: Mon, 28 Aug 2006 20:41
23 lines
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
Technical Details
Message-ID: <44f35549$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.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> <44f3244f$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: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.internet.web
References: <44f20ecb$1@newsgroups.borland.com> <44f29cbc$1@newsgroups.borland.com> <44f2ed40$1@newsgroups.borland.com> <44f3244f$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 13:41:47 -0700
Lines: 25
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <44f35549$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1156797769 68.69.17.41 (28 Aug 2006 13:42:49 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.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