GmailClient Class

Base class for Gmail client
Inheritance Hierarchy
SystemObject
  Aspose.Email.Clients.GoogleGmailClient

Namespace:  Aspose.Email.Clients.Google
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 21.3
Syntax
public abstract class GmailClient : IBaseGmailClient, 
	IDisposable

The GmailClient type exposes the following members.

Properties
  NameDescription
Public propertyAccessToken
Gets or sets OAuth 2.0 access token In case if refresh token is set, access token is generated automatically.
Public propertyDefaultEmail
Gets or sets default email address
Public propertyStatic memberDefaultTimeout
Gets or sets the default timeout value for ActiveSync client instances The default value is 100,000 milliseconds (100 seconds).
Public propertyProxy
Gets or sets the proxy.
Public propertyTimeout
Gets or sets the number of milliseconds to wait before the operation times out. The default value is 100,000 milliseconds (100 seconds).
Methods
  NameDescription
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodStatic memberGetInstance(String, String)
Gets instance of Gmail client
Public methodStatic memberGetInstance(String, IWebProxy, String)
Gets instance of Gmail client
Public methodStatic memberGetInstance(String, String, String, String)
Gets instance of Gmail client
Public methodStatic memberGetInstance(String, String, String, IWebProxy, String)
Gets instance of Gmail client
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRefreshToken
Refresh access token
Public methodToString (Inherited from Object.)
See Also