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

Identifies the original author of the message.

property From: TIdEmailAddressItem;

From is a TIdEMailAddressItem property that identifies the original author of the message. From is updated using name and address token values found in the RFC 2822 message header "From:" for received messages. 

When creating a new message, values must be assigned to properties in the From component prior to transmission. 

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

 

From.Text 
From.Name 
From.Address 

 

FromList is used when reading or writing the value for the From property. The From property accesses the initial TIdEmailAddressItem address in the FromList property. 

From may not contain the same value as Sender when a message is forwarded.

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