🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #3456

Re: NMSMTP1->SendMail(); Question

#3456
From: Remy Lebeau (TeamB)
Date: Mon, 19 Sep 2005 17:23
21 lines
1656 bytes
"David Ayre" <davidcayre@aol.com> wrote in message
news:432e6ec8$1@newsgroups.borland.com...

> Thanks to everyone who helped me with Indy 9 I now
> have my NMSMTP routine working fine.

TNMSMTP is NOT a component of Indy.  It is a NetMasters component, which has
nothing to do with Indy at all.

> However, can anyone tell me if there is a way to display
> the progress when sending an attachment?

There is no way to do that, because Indy does not know the size of the
attachment (or the overall message, for that matter) before sending it.  The
only way to have any kind of meaningful progress when sending a message is
to save the message to a temporary file or stream and then use its Size
during the transmission.


Gambit
Technical Details
Message-ID: <432ef3d6$3@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsfeed.gamma.ru!Gamma.RU!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <432e6ec8$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,58e825dc8c50245f
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <432e6ec8$1@newsgroups.borland.com>
Subject: Re: NMSMTP1->SendMail(); Question
Date: Mon, 19 Sep 2005 10:23:06 -0700
Lines: 23
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: <432ef3d6$3@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1127150550 68.69.17.41 (19 Sep 2005 10:22:30 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsfeed.gamma.ru!Gamma.RU!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail