Gmail Agent API v0.6.1 Library

GmailAdapter Members

GmailAdapter overview

Public Static Fields

GMAIL_HOST_URL Defines the base URL for Gmail requests.
GOOGLE_LOGIN_REFERRER_URL Defines the URL to fake as the GOOGLE_LOGIN_URL's referrer. (I don't know if Google is checking this, but it can't hurt.)
GOOGLE_LOGIN_URL Defines the URL to POST Google Accounts login information.

Public Instance Constructors

GmailAdapter Constructor Initializes a new instance of the GmailAdapter class.

Public Instance Properties

JsVersion Gets or sets the Gmail JS engine version.
LastErrorMessage Gets the last error message generated by the GmailAdapter methods. Will be null if there are no errors.
Proxy Gets or sets the proxy for HTTP requests. Leave null for no proxy support.
RawDataPackResponse Gets the raw HTML content returned from a DataPack request.
RawHomeFrameResponse Gets the raw HTML content returned from the Gmail base launch request.
RawLoginResponse Gets the raw HTML content returned from the Google Accounts login request.
ThreadFetchMode Gets or sets the GmailAdapter.ThreadFetchType for the adapter. The default is Inbox.

Public Instance Methods

AddContact Adds a contact into the address book. Emails that already exist will be updated with the new information.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetContacts Retrieves all the contacts in the user's Gmail address book.
GetHashCode (inherited from Object)Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
Refresh Queries Gmail to get latest mailbox information.
RefreshDataPack Requests the auto-refresh DataPack.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

GmailAdapter Class | Johnvey.GmailAgent Namespace