Article View: borland.public.cppbuilder.internet.socket
Article #1973Re: TIdAttachment Problem with MIME Encoding
From: Remy Lebeau (TeamB)
Date: Fri, 22 Sep 2006 17:08
Date: Fri, 22 Sep 2006 17:08
32 lines
2281 bytes
2281 bytes
"Hans Galema" <notused@notused.nl> wrote in message news:4513f45e$1@newsgroups.borland.com... > You mean the ContentType of TIdMessage here? (As every TIdText > has its own ContentType). No. I was referring to the ContentType of each individual item in the MessagePart collection. Indy's encoders do not care what the ContentType of the individual parts are when encoding a message. Robert's earlier postings were trying to suggest that the ContentType caused Indy to add extra bytes to the message, but that is not actually the case. > Whatever I put as type Indy will neglect it and determine the type itself. Only if you do not provide any ContentType yourself. Otherwise, Indy does use whatever value you put in. > For the latter: If I compose such an email with thunderbird i get: > Content-Type: multipart/mixed; > boundary="------------050109080305000709040803" > With Indy: > Content-Type: multipart/related; type="multipart/alternative"; > boundary="=_MoreStuf_... > > And the structure of the mail is diferent. That depends on what exactly your code looks like to begin with, and which version of Indy you are actually using. Gambit
Technical Details
Message-ID:
<45141929$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!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> <4513f45e$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 From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.internet.socket References: <45112258$1@newsgroups.borland.com> <45117004$1@newsgroups.borland.com> <45118fd7$1@newsgroups.borland.com> <4511bc98$1@newsgroups.borland.com> <4513f45e$1@newsgroups.borland.com> Subject: Re: TIdAttachment Problem with MIME Encoding Date: Fri, 22 Sep 2006 10:08:06 -0700 Lines: 34 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 69.169.4.232 Message-ID: <45141929$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1158945065 69.169.4.232 (22 Sep 2006 10:11:05 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail