Re: problem sending a mail as text/html contentType

Giganews Newsgroups
Subject: Re: problem sending a mail as text/html contentType
Posted by:  Remy Lebeau (TeamB) (no.spam@no.spam.com)
Date: Wed, 22 Mar 2006

"pd" <…@volte-tel.gr> wrote in message
news:66ED0428CDF1E240…@volte-tel.gr...

> I made a small application using Indi 9 (Delphi7) and I'm trying
> to send with this application emails using the text/html contentType
> for the body of the message.

Have a look at the following article:

    HTML Messages
  http://www.indyproject.org/Sockets/Blogs/RLebeau/2005_08_17_A.en.iwp

> When the messages does not include attacments the mail-client
> (thunderbird) display the body of the message correct as html as
> indicated by the contentType. But when I attached files to the mail
> the contentType changing for the body of the mail as text/plain
> ingnoring my previous indication as txt/html.

That is because Indy 9 does not support mixed text/html/attachment messages
very well.  You should consider upgrading to Indy 10.

Gambit

Replies

In response to

problem sending a mail as text/html contentType posted by pd on Wed, 22 Mar 2006