Re: Adding message attachments in BCB

Giganews Newsgroups
Subject: Re: Adding message attachments in BCB
Posted by:  Remy Lebeau (TeamB) (gambit47.no.spam@no.spam.yahoo.com)
Date: Mon, 15 Mar 2004

"John Franklin" <jo…@lesberries.co.uk> wrote in message
news:5938D318B395E240jo…@lesberries.co.uk...

> TIdAttachment *att = new TIdAttachment;
> att->Create (msg->MessageParts, asFileName);

Combine those two statements into one:

    TIdAttachment *att = new TIdAttachment(msg->MessageParts, asFileName);

Gambit

Replies

None

In response to

Adding message attachments in BCB posted by John Franklin on Mon, 15 Mar 2004