🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How to send an attachment to an e-mail

#2102
From: David Ayre
Date: Tue, 15 Aug 2006 18:50
26 lines
1615 bytes
"Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> wrote:
>
>"David Ayre" <davidcayre@ntlworld.com> wrote in message
>news:44e2059a$1@newsgroups.borland.com...
>
>> I am using TIdSMTP from Indy 9 with BDS2006 and have mastered
>> the sending of a standard e-mail, but would like to know how to send
>> an attachment.
>
>Add a TIdAttachment object to the TIdMessage.MessageParts collection.  You
>will also have to add TIdText objects for your text as well, instead of
>using the TIdMessage.Body property.
>
>
>Gambit
>
>
Thanks Remy,

But how do I do that? There doesn't seem to be a TIdAttachment
component in the Indy list.

Cheers,

David
Technical Details
Message-ID: <44e2178f$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <44e2059a$1@newsgroups.borland.com> <44e213f5$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,f90837efd85511de
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "David Ayre" <davidcayre@ntlworld.com>
Sender: "David Ayre" <davidcayre@ntlworld.com>
Reply-To: "David Ayre" <davidcayre@ntlworld.com>
Subject: Re: How to send an attachment to an e-mail
Newsgroups: borland.public.cppbuilder.internet.socket
X-User-Info: 62.252.224.18     
X-Forwarded-For: 81.96.132.239
References: <44e2059a$1@newsgroups.borland.com> <44e213f5$1@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.66
Message-ID: <44e2178f$1@newsgroups.borland.com>
Date: 15 Aug 2006 11:50:55 -0700
X-Trace: newsgroups.borland.com 1155667855 207.105.83.66 (15 Aug 2006 11:50:55 -0700)
Lines: 27
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail