Class UsersResource.MessagesResource.SendRequest
Sends the specified message to the recipients in the To
, Cc
, and Bcc
headers.
public class UsersResource.MessagesResource.SendRequest : GmailBaseServiceRequest<Message>
- Inheritance
-
UsersResource.MessagesResource.SendRequest
- Inherited Members
Constructors
SendRequest(IClientService, Message, string)
Constructs a new Send request.
public SendRequest(IClientService service, Message body, string userId)
Parameters
Properties
HttpMethod
Gets the HTTP method.
public override string HttpMethod { get; }
Property Value
MethodName
Gets the method name.
public override string MethodName { get; }
Property Value
RestPath
Gets the REST path.
public override string RestPath { get; }
Property Value
UserId
The user's email address. The special value me
can be used to indicate the authenticated
user.
public virtual string UserId { get; }
Property Value
Methods
GetBody()
Returns the body of the request.
protected override object GetBody()
Returns
InitParameters()
Initializes Send parameter list.
protected override void InitParameters()