Re: BCB beginner mailclient

Giganews Newsgroups
Subject: Re: BCB beginner mailclient
Posted by:  Remy Lebeau (TeamB) (gambit47.no.spam@no.spam.yahoo.com)
Date: Sun, 15 Feb 2004

"Marly nieuws" <marl…@home.nl> wrote in message
news:6DF0FA630F92E240marl…@home.nl...

> I have no idea how to attach an attachment to my mails.

Simply add a TIdAttachment instance to the TIdMessage::MessageParts
collection.  for example:

    TIdAttachment *attachment = new TIdAttachment(IdMessage1->MessageParts,
"the full file path");
    attachment->FileName = "the file name"
    attachment->ContentType = "the content type of the file"
    //etc...

Gambit

Replies

In response to

BCB beginner mailclient posted by Marly nieuws on Sun, 15 Feb 2004