Topic Path: Symbol Reference > Classes > TIdMessage Class > TIdMessage Properties > Sender Property
ContentsIndexHome
PreviousUpNext
TIdMessage.Sender Property

Identifies the sender of the message.

property Sender: TIdEmailAddressItem;

Sender is a TIdEMailAddressItem property used to indicate the person sending the message. Sender is normally used when a message has been forwarded from a person who is not the original message author. Sender contains the value from the RFC 2822 message header "Sender:". 

Use the following properties to get or set the values for the TIdEMailAddressItem

 

Sender.Text 
Sender.Name 
Sender.Address 

 

Use From or FromList to access the original author(s) of the message.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.