NET Email Validation
FromEmail Property
Example 






KellermanSoftware.NetEmailValidation Namespace > EmailValidation Class : FromEmail Property
The email address to use as the from address when doing an SMTP Mailbox Check. The default is null
Syntax
'Declaration
 
Public Property FromEmail As System.String
'Usage
 
Dim instance As EmailValidation
Dim value As System.String
 
instance.FromEmail = value
 
value = instance.FromEmail
public System.string FromEmail {get; set;}
public read-write property FromEmail: System.String; 
public function get,set FromEmail : System.String
public: __property System.string* get_FromEmail();
public: __property void set_FromEmail( 
   System.string* value
);
public:
property System.String^ FromEmail {
   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.FromEmail = "john.smith@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.FromEmail = "john.smith@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