NET Logging Library
SmtpPort Property (EmailTarget)



KellermanSoftware.NetLoggingLibrary.Targets Namespace > EmailTarget Class : SmtpPort Property
The port to send the email through. Defaults to 25
Syntax
Public Property SmtpPort As Integer
Dim instance As EmailTarget
Dim value As Integer
 
instance.SmtpPort = value
 
value = instance.SmtpPort
public int SmtpPort {get; set;}
public:
property int SmtpPort {
   int get();
   void set (    int value);
}
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

EmailTarget Class
EmailTarget Members