Re: e-mail message as attachment (Indy10)

Giganews Newsgroups
Subject: Re: e-mail message as attachment (Indy10)
Posted by:  Remy Lebeau (TeamB) (
Date: Thu, 5 Aug 2004

"Etienne van Tonder" <e…> wrote in message

> What is the correct way to handle these types of attachments.

What do you want to do with them in the first place?

> Normally an attachment has a filename

That is not a requirment.

> but these attachments have no filename.

Nor should they.

> Should I check for the Content-Type: message/rfc822 and
> then assume this is an e-mail attachment and create my own
> filename when saving the attachment.

Why not just check for a FileName regardless of the ContentType and then
generate your own if one is not provided?



In response to

e-mail message as attachment (Indy10) posted by Etienne van Tonder on Thu, 5 Aug 2004