🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #1968

Re: TIdAttachment Problem with MIME Encoding

#1968
From: Hans Galema
Date: Fri, 22 Sep 2006 13:59
18 lines
1747 bytes
Remy Lebeau (TeamB) wrote:

> ...  But the ContentType must match
> what the actual data is, or else the receiver will not be able to interpret
> the data properly.

That looks strange to me. The receiver can just look at the type
of encoding, then decode it. Then determine the filename and
save it under that name.

The same can be done with the file that is produced with

	IdMessage->SaveToFile ( FileName );

What I understand of it (just started yesterday with TIdMessage
and TIdSMPT) that content like in that file is sent bij TIdSMPT.

Hans.
Technical Details
Message-ID: <4513edcd@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.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
References: <45112258$1@newsgroups.borland.com> <45117004$1@newsgroups.borland.com> <45118fd7$1@newsgroups.borland.com> <4511bc98$1@newsgroups.borland.com> <4512da05@newsgroups.borland.com> <4512e0ae$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: Fri, 22 Sep 2006 15:59:33 +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> <4512da05@newsgroups.borland.com> <4512e0ae$1@newsgroups.borland.com>
In-Reply-To: <4512e0ae$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: <4513edcd@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1158933965 145.98.201.248 (22 Sep 2006 07:06:05 -0700)
Lines: 18
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.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