ReplyTo Property
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Gets or sets the ReplyTo field of the e-mail.
Namespace: Microsoft.CommerceServer.Marketing
Assembly: Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)
Syntax
'Declaration
Public Property ReplyTo As String
'Usage
Dim instance As DirectMail
Dim value As String
value = instance.ReplyTo
instance.ReplyTo = value
public string ReplyTo { get; set; }
public:
property String^ ReplyTo {
String^ get ();
void set (String^ value);
}
public function get ReplyTo () : String
public function set ReplyTo (value : String)
Property Value
Type: System..::.String
The ReplyTo field of the e-mail. The default value is empty string, but it must be set to a non-empty value by the time of saving the DirectMail.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | ReplyTo has been set to nullNothingnullptra null reference (Nothing in Visual Basic). |
StringLengthValidationException | ReplyTo has been set to an empty or whitespace string, or a string longer than 256 chars. |
Remarks
Stores the ReplyTo field of the e-mail. A value for the ReplyTo field of the mailing. The usual use is address to which replies should be sent.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.