Re: Set email sender, reply

Giganews Newsgroups
Subject: Re: Set email sender, reply
Posted by:  Mark Williams (mark@{removethis}skwirel.com)
Date: Thu, 5 May 2005

smtpServer.send(mailmessage);

Check the help for tidsmtp, it's all in there.

Cheers,

Mark

"Man Utd" <NOalanpltseSP…@yahoo.com.au> wrote in message
news:6F61C91D9BC9E240NOalanpltseSP…@yahoo.com.au...
> var
>  smtpServer:  TIdSMTP;
>  mailMessage : TIdMessage;
>  attachment: TIdAttachment;
> begin
>    smtpServer := TIdSMTP.Create(nil);
>    mailMessage := TIdMessage.Create(nil);
>    attachment.Create(mailMessage.MessageParts, 'c:\mypicture.pdf');
>    ...
> end;
>
> How do I link the TIdMessage to the TIdSMTP ?
> How do I set the message header, reply to and reply address ?

Replies

None

In response to

Set email sender, reply posted by Man Utd on Thu, 5 May 2005