Package | Description |
---|---|
com.google.api.services.gmail | |
com.google.api.services.gmail.model |
Modifier and Type | Method and Description |
---|---|
Gmail.Users.Messages.GmailImport |
Gmail.Users.Messages.gmailImport(String userId,
Message content)
Imports a message into only this user's mailbox, with standard email delivery scanning and
classification similar to receiving via SMTP.
|
Gmail.Users.Messages.GmailImport |
Gmail.Users.Messages.gmailImport(String userId,
Message content,
com.google.api.client.http.AbstractInputStreamContent mediaContent)
Imports a message into only this user's mailbox, with standard email delivery scanning and
classification similar to receiving via SMTP.
|
Gmail.Users.Messages.Insert |
Gmail.Users.Messages.insert(String userId,
Message content)
Directly inserts a message into only this user's mailbox similar to `IMAP APPEND`, bypassing most
scanning and classification.
|
Gmail.Users.Messages.Insert |
Gmail.Users.Messages.insert(String userId,
Message content,
com.google.api.client.http.AbstractInputStreamContent mediaContent)
Directly inserts a message into only this user's mailbox similar to `IMAP APPEND`, bypassing most
scanning and classification.
|
Gmail.Users.Messages.Send |
Gmail.Users.Messages.send(String userId,
Message content)
Sends the specified message to the recipients in the `To`, `Cc`, and `Bcc` headers.
|
Gmail.Users.Messages.Send |
Gmail.Users.Messages.send(String userId,
Message content,
com.google.api.client.http.AbstractInputStreamContent mediaContent)
Sends the specified message to the recipients in the `To`, `Cc`, and `Bcc` headers.
|
Constructor and Description |
---|
GmailImport(String userId,
Message content)
Imports a message into only this user's mailbox, with standard email delivery scanning and
classification similar to receiving via SMTP.
|
GmailImport(String userId,
Message content,
com.google.api.client.http.AbstractInputStreamContent mediaContent)
Imports a message into only this user's mailbox, with standard email delivery scanning and
classification similar to receiving via SMTP.
|
Insert(String userId,
Message content)
Directly inserts a message into only this user's mailbox similar to `IMAP APPEND`, bypassing
most scanning and classification.
|
Insert(String userId,
Message content,
com.google.api.client.http.AbstractInputStreamContent mediaContent)
Directly inserts a message into only this user's mailbox similar to `IMAP APPEND`, bypassing
most scanning and classification.
|
Send(String userId,
Message content)
Sends the specified message to the recipients in the `To`, `Cc`, and `Bcc` headers.
|
Send(String userId,
Message content,
com.google.api.client.http.AbstractInputStreamContent mediaContent)
Sends the specified message to the recipients in the `To`, `Cc`, and `Bcc` headers.
|
Modifier and Type | Method and Description |
---|---|
Message |
Message.clone() |
Message |
Message.encodeRaw(byte[] raw)
The entire email message in an RFC 2822 formatted and base64url encoded string.
|
Message |
HistoryLabelRemoved.getMessage() |
Message |
Draft.getMessage()
The message content of the draft.
|
Message |
HistoryLabelAdded.getMessage() |
Message |
HistoryMessageAdded.getMessage() |
Message |
HistoryMessageDeleted.getMessage() |
Message |
Message.set(String fieldName,
Object value) |
Message |
Message.setHistoryId(BigInteger historyId)
The ID of the last history record that modified this message.
|
Message |
Message.setId(String id)
The immutable ID of the message.
|
Message |
Message.setInternalDate(Long internalDate)
The internal message creation timestamp (epoch ms), which determines ordering in the inbox.
|
Message |
Message.setLabelIds(List<String> labelIds)
List of IDs of labels applied to this message.
|
Message |
Message.setPayload(MessagePart payload)
The parsed email structure in the message parts.
|
Message |
Message.setRaw(String raw)
The entire email message in an RFC 2822 formatted and base64url encoded string.
|
Message |
Message.setSizeEstimate(Integer sizeEstimate)
Estimated size in bytes of the message.
|
Message |
Message.setSnippet(String snippet)
A short part of the message text.
|
Message |
Message.setThreadId(String threadId)
The ID of the thread the message belongs to.
|
Modifier and Type | Method and Description |
---|---|
List<Message> |
ListMessagesResponse.getMessages()
List of messages.
|
List<Message> |
History.getMessages()
List of messages changed in this history record.
|
List<Message> |
Thread.getMessages()
The list of messages in the thread.
|
Modifier and Type | Method and Description |
---|---|
HistoryLabelRemoved |
HistoryLabelRemoved.setMessage(Message message) |
Draft |
Draft.setMessage(Message message)
The message content of the draft.
|
HistoryLabelAdded |
HistoryLabelAdded.setMessage(Message message) |
HistoryMessageAdded |
HistoryMessageAdded.setMessage(Message message) |
HistoryMessageDeleted |
HistoryMessageDeleted.setMessage(Message message) |
Modifier and Type | Method and Description |
---|---|
ListMessagesResponse |
ListMessagesResponse.setMessages(List<Message> messages)
List of messages.
|
History |
History.setMessages(List<Message> messages)
List of messages changed in this history record.
|
Thread |
Thread.setMessages(List<Message> messages)
The list of messages in the thread.
|
Copyright © 2011–2024 Google. All rights reserved.