Recipient(String, String, String, RecipientFieldType) Constructor
Initializes a new instance of the Recipient class with the specified address, contact name and the message prefix.
Namespace: DevExpress.XtraPrinting
Assembly: DevExpress.Printing.v24.1.Core.dll
NuGet Package: DevExpress.Printing.Core
Declaration
public Recipient(
string address,
string contactName,
string prefix,
RecipientFieldType type
)
Parameters
Name | Type | Description |
---|---|---|
address | String | A String value that specifies the recipient e-mail address. This value is assigned to the Recipient.Address property. |
contactName | String | A String value that specifies the recipient contact name. This value is assigned to the Recipient.ContactName property. |
prefix | String | A String value that specifies the prefix defining a way to send messages. This value is assigned to the Recipient.Prefix property. |
type | RecipientFieldType | A RecipientFieldType value that specifies the recipient field type. This value is assigned to the Recipient.FieldType property. |
Remarks
The Recipient.Prefix property will be set to its default value “SMTP:” and the Recipient.FieldType property will be set to RecipientFieldType.TO.