Internet Direct (Indy)
Home
PreviousUpNext
TIdMessage.From Property

Identifies the original author of the message.

Pascal
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.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.