GmailClientGetInstance Method (String, IWebProxy, String)

Gets instance of Gmail client

Namespace:  Aspose.Email.Clients.Google
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 22.4
Syntax
public static IGmailClient GetInstance(
	string accessToken,
	IWebProxy proxy,
	string defaultEmail
)

Parameters

accessToken
Type: SystemString
OAuth 2.0 access token
proxy
Type: System.NetIWebProxy
IWebProxy for Gmail client
defaultEmail
Type: SystemString
Default email address

Return Value

Type: IGmailClient
Returns instance of Gmail client
See Also