Article View: borland.public.cppbuilder.internet.socket
Article #3454Re: NMSMTP1->SendMail(); Question
From: David Ayre
Date: Mon, 19 Sep 2005 15:22
Date: Mon, 19 Sep 2005 15:22
29 lines
1701 bytes
1701 bytes
Hans Galema <notused@notused.nl> wrote:
>David Ayre wrote:
>> Thanks to everyone who helped me with Indy 9 I now have my NMSMTP
>> routine working fine.
>
>Is the TNMSMTP component part of your Indy distribution ?
I had assumed it was. I have BCB4 and I downloaded the updates for BCB4 from the Indy site and I assume this updated the Indy components. Perhaps I am being incredibly stupid.
>
> > However, can anyone tell me if there is a
>> way to display the progress when sending an attachment?
>
>Take a TProgressBar and use the PacketSent event:
>
>void __fastcall TSendMailForm::NMSMTP1PacketSent(TObject *Sender)
>{
> ProgressBar1->Max = NMSMTP1->BytesTotal;
> ProgressBar1->Position = NMSMTP1->BytesSent;
>}
>
>Hans.
I don't seem to be using TSendMailForm. Should I Be?
Best regards,
David
Technical Details
Message-ID:
<432ed79d$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<432e6ec8$1@newsgroups.borland.com> <432ea995$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: "David Ayre" <davidcayre@aol.com> Sender: "David Ayre" <davidcayre@aol.com> Reply-To: "David Ayre" <davidcayre@aol.com> Subject: Re: NMSMTP1->SendMail(); Question Newsgroups: borland.public.cppbuilder.internet.socket X-User-Info: 62.252.224.18 X-Forwarded-For: 82.24.203.104 References: <432e6ec8$1@newsgroups.borland.com> <432ea995$1@newsgroups.borland.com> NNTP-Posting-Host: 207.105.83.66 Message-ID: <432ed79d$1@newsgroups.borland.com> Date: 19 Sep 2005 08:22:05 -0700 X-Trace: newsgroups.borland.com 1127143325 207.105.83.66 (19 Sep 2005 08:22:05 -0700) Lines: 30 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail