Skip to main content

send_mail

Function send_mail 

Source
pub fn send_mail(req: &SendRequest) -> Result<Option<String>, GraphError>
Expand description

Send (POST /me/sendMail) or draft (POST /me/messages, draft_only) mail. Returns the draft message id when drafting; None when sent (sendMail is a 202 with no body).