-
Notifications
You must be signed in to change notification settings - Fork 54
/
Copy pathgm_send_message.Rd
51 lines (48 loc) · 1.23 KB
/
gm_send_message.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/gm_message.R
\name{gm_send_message}
\alias{gm_send_message}
\title{Send a message from a mime message}
\usage{
gm_send_message(
mail,
type = c("multipart", "media", "resumable"),
thread_id = NULL,
user_id = "me"
)
}
\arguments{
\item{mail}{mime mail message created by mime}
\item{type}{the type of upload to perform}
\item{thread_id}{the id of the thread to send from.}
\item{user_id}{gmail user_id to access, special value of 'me' indicates the authenticated user.}
}
\description{
Send a message from a mime message
}
\examples{
\dontrun{
gm_send_message(gm_mime(
from = "[email protected]", to = "[email protected]",
subject = "hello", "how are you doing?"
))
}
}
\references{
\url{https://developers.google.com/gmail/api/reference/rest/v1/users.messages/send}
}
\seealso{
Other message:
\code{\link{gm_attachment}()},
\code{\link{gm_delete_message}()},
\code{\link{gm_import_message}()},
\code{\link{gm_insert_message}()},
\code{\link{gm_messages}()},
\code{\link{gm_message}()},
\code{\link{gm_modify_message}()},
\code{\link{gm_save_attachments}()},
\code{\link{gm_save_attachment}()},
\code{\link{gm_trash_message}()},
\code{\link{gm_untrash_message}()}
}
\concept{message}