NET Email Validation
FromMailServer Property
Example 






KellermanSoftware.NetEmailValidation Namespace > EmailValidation Class : FromMailServer Property
The mail server to use as the from address when doing an SMTP Mailbox Check. The default is null
Syntax
'Declaration
 
Public Property FromMailServer As System.String
'Usage
 
Dim instance As EmailValidation
Dim value As System.String
 
instance.FromMailServer = value
 
value = instance.FromMailServer
public System.string FromMailServer {get; set;}
public read-write property FromMailServer: System.String; 
public function get,set FromMailServer : System.String
public: __property System.string* get_FromMailServer();
public: __property void set_FromMailServer( 
   System.string* value
);
public:
property System.String^ FromMailServer {
   System.String^ get();
   void set (    System.String^ value);
}
Example
EmailValidation emailValidator = new EmailValidation(); //Trial Mode
//EmailValidation emailValidator = new EmailValidation("place user name here", "place license key here"); //License Mode
 
emailValidator.FromMailServer = "hotmail.com";
Dim emailValidator As EmailValidation = New EmailValidation() 'Trial Mode
'Dim emailValidator As EmailValidation = New EmailValidation("place user name here", "place license key here") 'License Mode
 
emailValidator.FromMailServer = "hotmail.com"
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

EmailValidation Class
EmailValidation Members