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

TestAccount Property

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

Gets or sets a value that designates a test account to try prior to validating email addresses associated with a mail server.

[Visual Basic]
<DescriptionAttribute("Gets or sets a value that designates a test account to try prior to validating email addresses associated with a mail server.")> <DefaultValueAttribute()> Public Property TestAccount As String
[C#]
[DescriptionAttribute("Gets or sets a value that designates a test account to try prior to validating email addresses associated with a mail server.")] [DefaultValueAttribute()] public string TestAccount {get; set;}
[C++]
[DescriptionAttribute("Gets or sets a value that designates a test account to try prior to validating email addresses associated with a mail server.")] [DefaultValueAttribute()] public: __property string* get_TestAccount(); public: __property void set_TestAccount(    string* value );
[C++/CLI]
[DescriptionAttribute("Gets or sets a value that designates a test account to try prior to validating email addresses associated with a mail server.")] [DefaultValueAttribute()] public: property String^ TestAccount {    String^ get();    void set (String^ value); }

Return Type

The default value is an empty string, which indicates that no test should be performed.

Remarks

When validating a list of email addresses, validations are grouped according to mail server. Prior to validating the first address with any server, a test can be performed to see if the server always returns a positive response. This property dicates the test account to try.

The test account should be something that will not exist on any server. If a mail server validates the test account, the mail server will be added to the GreenList.

For example, if the TestAccount property is set to "anUniqueAccountNooneWouldHave," prior to validating email addresses at "myDomain.com," the first address checked would be "anUniqueAccountNooneWouldHave@myDomain.com".

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.