|Subject:||Re: Set email sender, reply|
|Posted by:||Remy Lebeau (TeamB) (firstname.lastname@example.org)|
|Date:||Thu, 5 May 2005|
"Man Utd" <NOalanpltseSP…@yahoo.com.au> wrote in message
> attachment.Create(mailMessage.MessageParts, 'c:\mypicture.pdf');
That is not the correct way to create the attachment. It should be this
attachment := TIdAttachment.Create(mailMessage.MessageParts,
> How do I link the TIdMessage to the TIdSMTP ?
You don't. You pass the TIdMessage as a parameter when calling
> How do I set the message header, reply to and reply address ?
Have you looked at TIdMessage's properties yet? It has many properties for
all of that.
Set email sender, reply posted by Man Utd on Thu, 5 May 2005