Article View: borland.public.cppbuilder.internet.socket
Article #5535Re: Deleting Sent Attachments in Indy SMTP
From: Antonio Donato
Date: Fri, 30 Jul 2004 19:22
Date: Fri, 30 Jul 2004 19:22
26 lines
1590 bytes
1590 bytes
I tried to do that, but BC++ gives strange responses. When writing delete attachment1; compiling says "Undefined symbol attachment1", when it should not be undefined. "Remy Lebeau (TeamB)" ha escrito: > "Antonio Donato" <espvida@osite.com.br> wrote in message > news:410A91BD.B2B07735@osite.com.br... > > > What code I have to use in order that, after having > > sent a mail message, to delete the attachments? Thanks > > Simply delete the TIdAttachment that you allocated: > > TIdAttachment *attachment1 = new > TIdAttachment(IndyMessage->MessageParts, AttachFileOne); > //... > delete attachment1; > > Gambit
Technical Details
Message-ID:
<410AA00A.2810F892@osite.com.br>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newshosting.com!nx02.iad01.newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<410A91BD.B2B07735@osite.com.br> <410a9542$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,7d6c5fd30befdd4b X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit Message-ID: <410AA00A.2810F892@osite.com.br> Date: Fri, 30 Jul 2004 16:22:50 -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: Deleting Sent Attachments in Indy SMTP References: <410A91BD.B2B07735@osite.com.br> <410a9542$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 1091215907 200.171.143.68 (30 Jul 2004 12:31:47 -0700) Lines: 27 Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newshosting.com!nx02.iad01.newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail