Article View: borland.public.cppbuilder.internet.socket
Article #1962Re: TIdAttachment Problem with MIME Encoding
From: Hans Galema
Date: Thu, 21 Sep 2006 08:36
Date: Thu, 21 Sep 2006 08:36
10 lines
1378 bytes
1378 bytes
Remy Lebeau (TeamB) wrote: > Indy's GetMIMETypeFromFile() function instead, ie: > > attach1->ContentType = GetMIMETypeFromFile(attach1->FileName); Does it really get it from the file (by opening the file) or just from looking at the extension of the filename? Hans.
Technical Details
Message-ID:
<4512509c$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.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:
<45112258$1@newsgroups.borland.com> <45117004$1@newsgroups.borland.com> <45118fd7$1@newsgroups.borland.com> <4511bc98$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,edd2a3551c00f96a X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Thu, 21 Sep 2006 10:36:36 +0200 From: Hans Galema <notused@notused.nl> User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.internet.socket Subject: Re: TIdAttachment Problem with MIME Encoding References: <45112258$1@newsgroups.borland.com> <45117004$1@newsgroups.borland.com> <45118fd7$1@newsgroups.borland.com> <4511bc98$1@newsgroups.borland.com> In-Reply-To: <4511bc98$1@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 145.98.201.248 Message-ID: <4512509c$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1158828188 145.98.201.248 (21 Sep 2006 01:43:08 -0700) Lines: 10 Path: arc1-ca.pugleaf.net!g2news2.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