Re: Indy 10 - e-mail attachment problem

Giganews Newsgroups
Subject: Re: Indy 10 - e-mail attachment problem
Posted by:  Andrew Lockwood (andrew.lockwo…@fsbdial.co.uk)
Date: Tue, 15 Jun 2004

Solved this one for myself.  It was because I was setting the contenttype to
text/plain.  In Indy 9, this somehow became multipart/mixed when I added
attachments, but in Indy 10, it stays as text/plain, and then Outlook /
Outlook Express could not handle it.

Andrew Lockwood

"Andrew Lockwood" <andrew.lockwo…@fsbdial.co.uk> wrote in message
news:E5DE38882DA1E240andrew.lockwo…@fsbdial.co.uk...
> I have sent a few e-mails with attachments in the last couple of days
using
> Indy 10 components, and am now finding that the recipients can't read them
> because the attachments are not being decoded correctly.
>
> I tried sending one to myself, and it works fine if I read it from within
my
> own program, but if I receive it using Outlook Express, the attachment is
> not detected.
>
> One thing I noted is that the boundary definition (using multipart/mixed
> format) does not include NextPart in the definition.  Is this deliberate?
> Could this be the cause of the problem?
>
> Andrew Lockwood

Replies

None

In response to

Indy 10 - e-mail attachment problem posted by Andrew Lockwood on Tue, 15 Jun 2004