SysMailerNet.fromAddress Method [AX 2012]
Sets the sender address for this mail message
Syntax
public str fromAddress(
str address,
[str displayName,
CLRObject encoding])
Run On
Called
Parameters
- address
Type: str
Email address of the sender
- displayName
Type: str
Optional display name of the sender.
- encoding
Type: CLRObject Class
Email address encoding. Defaults to UTF8 to support Unicode email addresses.
Return Value
Type: str
SysMailerNetAddressField object
Remarks
Corresponds to the "From" System.Net.Mail.MailMessage mail header property