Article View: borland.public.cppbuilder.internet.socket
Article #2101Re: How to send an attachment to an e-mail
From: Remy Lebeau (TeamB)
Date: Tue, 15 Aug 2006 18:33
Date: Tue, 15 Aug 2006 18:33
14 lines
1357 bytes
1357 bytes
"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
Technical Details
Message-ID:
<44e213f5$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.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-mailReferences:
<44e2059a$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: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.internet.socket References: <44e2059a$1@newsgroups.borland.com> Subject: Re: How to send an attachment to an e-mail Date: Tue, 15 Aug 2006 11:33:23 -0700 Lines: 16 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: <44e213f5$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1155666933 68.69.17.41 (15 Aug 2006 11:35:33 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.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