Internet Direct (Indy) Version 9.0.1 Beta
TIdEMailAddressItem.Text
Represents the the full contents of an email address.

property Text: String;
Description
Text is a String property that represents the person's name and email address in RFC 822-compliant form. Text can be used to set both the Name and Address for the TIdEMailAddressItem by providing an RFC 822-compliant string. For example:


    AEmail.Text := '"John Doe" <jdoe@some.net>';
    // AEmail.Name contains '"John Doe"'
    // AEmail.Address contains 'jdoe@some.net'

    AEmail.Name := 'Jane Doe';
    AEmail.Address := 'janed@another.net';
    // AEmail.Text contains 'Jane Doe <janed@another.net>'