Article View: borland.public.cppbuilder.internet.socket
Article #2950Re: Send Html Email with Indy component doesn't work
From: Remy Lebeau (TeamB)
Date: Wed, 28 Dec 2005 17:31
Date: Wed, 28 Dec 2005 17:31
18 lines
2007 bytes
2007 bytes
<Francesco> wrote in message news:43b26f62@newsgroups.borland.com... > Hi Remy I posted saved file on attachments group. Are you sure that is the EXACT data that TIdMessage generates? You did not try to save the message data after it was received, did you? The data that you posted is malformed. The top-level ContentType is wrong, and there is no HTML at all. I find it highly unlikely that Indy would produce such malformed data, given the code you have shown. So it was likely altered during transmission. I need you to show the original message data as it appears BEFORE it is sent over the socket to the SMTP server. Either use one the TIdMessage.SaveTo...() methods, or attach one of the TIdLog... components to TIdSMTP, or use an external packet sniffer such as Ethereal (http://www.ethereal.com). Gambit
Technical Details
Message-ID:
<43b2cba7$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<43aac389@newsgroups.borland.com> <43aaf78e$1@newsgroups.borland.com> <43abaac3@newsgroups.borland.com> <43abdc19$3@newsgroups.borland.com> <43ac0e30@newsgroups.borland.com> <43ac59b7$1@newsgroups.borland.com> <43b0fd95@newsgroups.borland.com> <43b253e4$1@newsgroups.borland.com> <43b26f62@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,9d6c4b1081b0b15 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: <43aac389@newsgroups.borland.com> <43aaf78e$1@newsgroups.borland.com> <43abaac3@newsgroups.borland.com> <43abdc19$3@newsgroups.borland.com> <43ac0e30@newsgroups.borland.com> <43ac59b7$1@newsgroups.borland.com> <43b0fd95@newsgroups.borland.com> <43b253e4$1@newsgroups.borland.com> <43b26f62@newsgroups.borland.com> Subject: Re: Send Html Email with Indy component doesn't work Date: Wed, 28 Dec 2005 09:31:50 -0800 Lines: 20 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: 68.69.17.41 Message-ID: <43b2cba7$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1135791015 68.69.17.41 (28 Dec 2005 09:30:15 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail