Article View: borland.public.cppbuilder.internet.socket
Article #4089Re: How I can add new attachment to blank message?
From: depresz
Date: Sat, 02 Apr 2005 11:08
Date: Sat, 02 Apr 2005 11:08
15 lines
1840 bytes
1840 bytes
When I add this instructions:
> To add an attachment, simply create a new instance of either the
> TIdAttachmentFile or TIdAttachmentMemory classes. For example:
>
> TIdAttachmentFile *attachment = new
> TIdAttachmentFile(IdMessage1->MessageParts, "c:\\folder\\file.ext");
> attachment->ContentType = GetMIMETypeFromFile("c:\\folder\\file.ext");
> // set other properties as needed ...
was error: Undefined symbol 'TIdAttachmentFile'. When i add header file
TIdAttachment.hpp, this file was problems in this file, becouse file had
Delphi instructions!
I just don't know what to do.
Technical Details
Message-ID:
<424e7d3f@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!newshub.sdsu.edu!peer01.west.cox.net!cox.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<424bb656@newsgroups.borland.com> <424bc359$1@newsgroups.borland.com> <424bd95a@newsgroups.borland.com> <424c505c$1@newsgroups.borland.com> <424d0060$1@newsgroups.borland.com> <424d0f27$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,dd617ab9ef71c634 X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Sat, 02 Apr 2005 13:08:45 +0200 From: depresz <depresz@piotrkow.net.pl> User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: pl, en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.internet.socket Subject: Re: How I can add new attachment to blank message? References: <424bb656@newsgroups.borland.com> <424bc359$1@newsgroups.borland.com> <424bd95a@newsgroups.borland.com> <424c505c$1@newsgroups.borland.com> <424d0060$1@newsgroups.borland.com> <424d0f27$1@newsgroups.borland.com> In-Reply-To: <424d0f27$1@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 0513-2, 2005-04-01), Outbound message X-Antivirus-Status: Clean NNTP-Posting-Host: 195.136.149.45 Message-ID: <424e7d3f@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1112440127 195.136.149.45 (2 Apr 2005 03:08:47 -0800) Lines: 15 Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!newshub.sdsu.edu!peer01.west.cox.net!cox.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail