Internet Direct (Indy) Version 9.0.2 Beta
TIdEMailAddressItem.Name
Represents the person's name in an EMail address.

property Name: string;
Description
Name is a String property that represents the person's name in the Email address. Updating the Name or Address portions of the EMail address causes Text to be updated to reflect the changes in to the other property values. 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>'