Article View: borland.public.cppbuilder.internet.socket
Article #5632Re: Attachments with TIdMessage
From: Antonio Donato
Date: Sun, 27 Jun 2004 03:48
Date: Sun, 27 Jun 2004 03:48
29 lines
1681 bytes
1681 bytes
> Dear Remy, > > I compiled that code below and the result was: > > > Could not find a match for 'TIdAttachment::TIdAttachment(TIdMessage *, char")' > > > If you know what is this I thank you very much. Thanks. > > Antonio Donato > "Remy Lebeau (TeamB)" ha escrito: > "Antonio Donato" <espvida@osite.com.br> wrote in message > news:40DDCFFC.539C4C06@osite.com.br... > > > In the properties of Message there are Body, Subject, > > CCList and others, but no Attachment property. > > You need to add a TIdAttachment instance to the MessageParts collection, ie: > > TIdAttachment *attachment = new TIdAttachment(IdMessage1, "c:\\path > to\\file.ext"); > attachment->FileName = "file.ext"; > attachment->ContentType = "whatever"; > // etc... > > Gambit
Technical Details
Message-ID:
<40DE437D.F599902C@osite.com.br>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<40DDCFFC.539C4C06@osite.com.br> <40de01f4$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,5a2b0d594bbebb99 X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit Message-ID: <40DE437D.F599902C@osite.com.br> Date: Sun, 27 Jun 2004 00:48:13 -0300 From: Antonio Donato <espvida@osite.com.br> X-Mailer: Mozilla 4.78 [es] (Win98; U) X-Accept-Language: es MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.internet.socket Subject: Re: Attachments with TIdMessage References: <40DDCFFC.539C4C06@osite.com.br> <40de01f4$1@newsgroups.borland.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 200.171.143.68 X-Trace: newsgroups.borland.com 1088308633 200.171.143.68 (26 Jun 2004 20:57:13 -0700) Lines: 30 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail