FromName (Dundas Mailer Control 1.0)
Overview | Properties | Methods
The name of the email sender.
Syntax
MailerObject.FromName = [string]
The FromName property syntax has the following parts:
Part |
Description |
string |
Name of the person sending the message. Defaults to a zero-length string (optional). |
Remarks
The FromAddress property MUST be set if you want to use FromName.
If the FromName property is a zero-length string then the FromAddress property determines the contents of the From header of the email, and when the client reads the message this email address will be what appears in the client software's From field (e.g. [email protected]).
If the FromName property has been set then both the FromName and FromAddress properties make up the From header of the email. When the client reads the message the From field will then contain either both properties (e.g. John Doe <[email protected]>), or the value of FromName, depending on the client's user agent.
See Also: FromAddress