Article View: borland.public.cppbuilder.internet.socket
Article #2106Re: How to send an attachment to an e-mail
From: Roger
Date: Wed, 16 Aug 2006 17:03
Date: Wed, 16 Aug 2006 17:03
22 lines
1555 bytes
1555 bytes
Did you try: include "IDGLOBAL.hpp" "David Ayre" <davidcayre@ntlworld.com> wrote in message news:44e2da4d$1@newsgroups.borland.com... > > >> attach->ContentType = GetMimeTypeFromFile(attach->FileName); >> > > This line won't compile - GetMimeTypeFromFile() must need an > #include. The Indy help says that it is in global.pas. Do I need > to include global.pas in my project or just add an include for > its header file? > > Cheers, > > David >
Technical Details
Message-ID:
<44e34fc7@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.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> <44e213f5$1@newsgroups.borland.com> <44e2178f$1@newsgroups.borland.com> <44e2793f$1@newsgroups.borland.com> <44e2da4d$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: "Roger" <aretae@magma.ca> Newsgroups: borland.public.cppbuilder.internet.socket References: <44e2059a$1@newsgroups.borland.com> <44e213f5$1@newsgroups.borland.com> <44e2178f$1@newsgroups.borland.com> <44e2793f$1@newsgroups.borland.com> <44e2da4d$1@newsgroups.borland.com> Subject: Re: How to send an attachment to an e-mail Date: Wed, 16 Aug 2006 13:03:08 -0400 Lines: 24 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 209.217.79.139 Message-ID: <44e34fc7@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1155747783 209.217.79.139 (16 Aug 2006 10:03:03 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.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