🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Send Html Email with Indy component doesn't work

#2952
From: Francesco
Date: Thu, 29 Dec 2005 06:57
37 lines
2409 bytes

To get that file i put on code,
MailMessage->SaveToFile("c:\\email.txt"); before calling smtp->Send();
I try to reinstall Indy and creat a new project and export again data
file using log or savetofile again.

	Francesco








Remy Lebeau (TeamB) wrote:

> 
> <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: <43b396e1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!txtfeed1.tudelft.nl!tudelft.nl!txtfeed2.tudelft.nl!feeder.xsnews.nl!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
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> <43b2cba7$1@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: "Francesco" <.>
Subject: Re: Send Html Email with Indy component doesn't work
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> <43b2cba7$1@newsgroups.borland.com>
User-Agent: XanaNews/1.17.4.1
NNTP-Posting-Host: 87.4.78.23
Message-ID: <43b396e1@newsgroups.borland.com>
Date: 28 Dec 2005 23:57:21 -0700
X-Trace: newsgroups.borland.com 1135843041 87.4.78.23 (28 Dec 2005 23:57:21 -0700)
Lines: 38
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!txtfeed1.tudelft.nl!tudelft.nl!txtfeed2.tudelft.nl!feeder.xsnews.nl!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail