See Also

SmtpTester Class  | SmtpTester Members

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows ME, Windows 2000, Windows XP, Windows Server 2003, Windows Vista

Language

Visual Basic

C#

C++

C++/CLI

Show All

See Also Languages PowerTCP Email Validation for .NET

MailFrom Property

Dart.PowerTCP.EmailValidation Namespace > SmtpTester Class : MailFrom Property

Gets or sets a value that determines the address parameter of the MAIL FROM command.

[Visual Basic]
<DescriptionAttribute("Gets or sets a value that determines the address parameter of the MAIL FROM command.")> Public Property MailFrom As String
[C#]
[DescriptionAttribute("Gets or sets a value that determines the address parameter of the MAIL FROM command.")] public string MailFrom {get; set;}
[C++]
[DescriptionAttribute("Gets or sets a value that determines the address parameter of the MAIL FROM command.")] public: __property string* get_MailFrom(); public: __property void set_MailFrom(    string* value );
[C++/CLI]
[DescriptionAttribute("Gets or sets a value that determines the address parameter of the MAIL FROM command.")] public: property String^ MailFrom {    String^ get();    void set (String^ value); }

Return Type

The default value is an empty string. If this property is not set, the Validator.Validate and Validator.BeginValidate methods will raise an exception when validating to the SmtpRecipient level.

Remarks

This property must be set prior to performing a validation.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows ME, Windows 2000, Windows XP, Windows Server 2003, Windows Vista

See Also

SmtpTester Class  | SmtpTester Members


Send comments on this topic.

Documentation version 1.0.3.0.

© 2008 Dart Communications.  All rights reserved.