Article View: borland.public.cppbuilder.internet.web
Article #155Re: NMSMTP1->SendMail();
From: Remy Lebeau (TeamB)
Date: Tue, 21 Aug 2007 16:32
Date: Tue, 21 Aug 2007 16:32
18 lines
1675 bytes
1675 bytes
"Alain" <alainbastien@gmail.com> wrote in message news:46caab19@newsgroups.borland.com... > it's only when I disconnect that the e-mail is sent e.i > on issuing NMSMTP1->Disconnect(); That is how the SMTP protocol is designed to work in the first place. SMTP is a transactional protocol. The transaction is started when you login to the server, and is not completed until the QUIT command is sent just prior to disconnecting the socket. All emails issued in between are cached by the server until the transaction is completed. If successful, then all of the cached emails are delivered as needed. If the connection is dropped unexpectedly, or the RSET command is issued, then all cached messages are discarded instead. Gambit
Technical Details
Message-ID:
<46cb14a3$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!feeder.news-service.com!194.25.134.62.MISMATCH!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<46caab19@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,e02434cdb433700e X-Google-Attributes: gidfeeec,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.internet.web References: <46caab19@newsgroups.borland.com> Subject: Re: NMSMTP1->SendMail(); Date: Tue, 21 Aug 2007 09:32:29 -0700 Lines: 20 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: 75.83.29.61 Message-ID: <46cb14a3$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1187714211 75.83.29.61 (21 Aug 2007 09:36:51 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!feeder.news-service.com!194.25.134.62.MISMATCH!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail