|Subject:||Re: Lost filename for attachment|
|Posted by:||Remy Lebeau (TeamB) (email@example.com)|
|Date:||Fri, 8 Apr 2005|
"Richard Gillingham" <richa…@richardgillingham.com> wrote in message
> Env. Indy10 W32 D2005
> I am adding an attachment to a simple text email using
> TIdAttachment.Create(IdMsgSend.MessageParts, fileName);
In Indy 10, you cannot instantiate TIdAttachment directly. It is an
abstract base class. You need to use TIdAttachmentFile instead.
> I can send this successfully without problem. However the attachment
> filename is blank in Outlook 2000. In Outlook 2003 it is fine, in webmail
> clients it is fine and also I know this used to work in Outlook 2000 using
> Indy 9.
Then I suggest you show the actual message data so people can see what the
headers actually look like.
Lost filename for attachment posted by Richard Gillingham on Fri, 8 Apr 2005