Article View: borland.public.cppbuilder.internet.socket
Article #2105Re: How to send an attachment to an e-mail
From: David Ayre
Date: Wed, 16 Aug 2006 08:41
Date: Wed, 16 Aug 2006 08:41
13 lines
1244 bytes
1244 bytes
> 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:
<44e2da4d$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!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>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,f90837efd85511de X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "David Ayre" <davidcayre@ntlworld.com> Sender: "David Ayre" <davidcayre@ntlworld.com> Reply-To: "David Ayre" <davidcayre@ntlworld.com> Subject: Re: How to send an attachment to an e-mail Newsgroups: borland.public.cppbuilder.internet.socket X-User-Info: 62.252.224.18 X-Forwarded-For: 81.96.132.239 References: <44e2059a$1@newsgroups.borland.com> <44e213f5$1@newsgroups.borland.com> <44e2178f$1@newsgroups.borland.com> <44e2793f$1@newsgroups.borland.com> NNTP-Posting-Host: 207.105.83.66 Message-ID: <44e2da4d$1@newsgroups.borland.com> Date: 16 Aug 2006 01:41:49 -0700 X-Trace: newsgroups.borland.com 1155717709 207.105.83.66 (16 Aug 2006 01:41:49 -0700) Lines: 14 Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail