PowerTCP Mail for .NET
Smtp Class Members
Properties  Methods  Events


The following tables list the members exposed by Smtp.

Public Constructors
 NameDescription
Public ConstructorSmtp Constructor Initializes a new instance of the Smtp component.  
Top
Public Properties
 NameDescription
Public PropertyAutoPipeline Gets or sets a value enabling command pipelining if the server supports it.  
Public PropertyAutoSize Gets or sets a value indicating if the server will be asked if the message is too large before sending.  
Public PropertyCapabilitiesGets a List of strings representing the capabilities of the server. (Inherited from Dart.Mail.MailBase)
Public PropertyConnection TCP connection used for server communications.  
Public PropertyContainer (Inherited from System.ComponentModel.Component)
Public PropertyDeliveryStatusNotificationGets or sets the DeliveryStatusNotification object that specifies Delivery Status Notification.  
Public PropertyDnsServerTimeoutGets or sets the amount of time in milliseconds to wait for a response from a DNS server.  
Public PropertyEncoding Specifies the character encoding to be used by the component. (Inherited from Dart.Mail.MailBase)
Public PropertyHelloNameGets or sets the hostname presented to the server during the greeting.  
Public PropertySendDirectToMx When true, Send methods deliver mail directly to each recipient's mail exchange (MX) server. Defaults to false.  
Public PropertyServerGreeting Gets the greeting received after connecting to the server. (Inherited from Dart.Mail.MailBase)
Public PropertySession Specifies connection, authentication and behavior configuration.  
Public PropertySite (Inherited from System.ComponentModel.Component)
Public PropertySynchronizingObject Gets or sets the object used to marshal data to the UI thread (for raising events). (Inherited from Dart.Mail.ComponentBase)
Public PropertySyncRoot Gets an object that is used to synchronize access to the upper layer protocol in use. (Inherited from Dart.Mail.ComponentBase)
Public PropertyTag Gets or sets an object that stores any user data. (Inherited from Dart.Mail.ComponentBase)
Top
Protected Properties
Public Methods
 NameDescription
Public MethodAuthenticateAuthenticate the client using parameters in Smtp.Session.  
Public MethodClose Cease all activity and gracefully close the control connection.  
Public MethodConnectConnect to an SMTP server using Session parameters. Any existing connection is aborted.  
Public MethodCreateObjRef (Inherited from System.MarshalByRefObject)
Public MethodDisposeOverloaded. Overridden.  Releases all resources associated with the object.  
Public Methodstatic (Shared in Visual Basic)GetDefaultPort Returns the port normally used for the supplied MailSession configuration.  
Public MethodGetLifetimeService (Inherited from System.MarshalByRefObject)
Public MethodInitializeLifetimeService (Inherited from System.MarshalByRefObject)
Public MethodMarshalOverloaded.  Marshals a string and/or object to the UI thread and raises the UserState event. (Inherited from Dart.Mail.ComponentBase)
Public MethodSendOverloaded.  Send a basic text email.  
Public MethodStart Start a worker thread and execute the specified delegate. (Inherited from Dart.Mail.MailBase)
Public MethodToString (Inherited from System.ComponentModel.Component)
Top
Protected Methods
 NameDescription
Protected MethodFinalize (Inherited from System.ComponentModel.Component)
Protected MethodGetService (Inherited from System.ComponentModel.Component)
Protected MethodMemberwiseCloneOverloaded.  (Inherited from System.MarshalByRefObject)
Protected MethodOnErrorRaises the Error event. (Inherited from Dart.Mail.ComponentBase)
Protected MethodOnProgressRaises the Progress event.  
Protected MethodOnUserStateRaises the UserState event. (Inherited from Dart.Mail.ComponentBase)
Top
Public Events
 NameDescription
Public EventDisposed (Inherited from System.ComponentModel.Component)
Public EventErrorRaised when Marshal(Exception) is used or an unhandled Exception is thrown in a worker thread created using Start. (Inherited from Dart.Mail.ComponentBase)
Public EventProgress Raised repeatedly while an email message is sent.  
Public EventUserStateRaised when Marshal(String,Object) is used. (Inherited from Dart.Mail.ComponentBase)
Top
See Also

Reference

Smtp Class
Dart.Mail Namespace


PowerTCP Mail for .NET Documentation Version 4.3
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic