Re: e-mail message as attachment (Indy10)

Giganews Newsgroups
Subject: Re: e-mail message as attachment (Indy10)
Posted by:  Remy Lebeau (TeamB) (gambit47.no.spam@no.spam.yahoo.com)
Date: Thu, 5 Aug 2004

"Etienne van Tonder" <e…@infoware.com.au> wrote in message
news:03986D4185A7E240e…@infoware.com.au...

> 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?

Gambit

Replies

In response to

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