Skip to content

New command: send email on behalf of the user #328

@waldekmastykarz

Description

@waldekmastykarz

Send email on behalf of the current user

  • command: graph user sendmail -s|--subject <subject> -t|--to <to> --bodyContents [bodyContents] --bodyContentsFilePath [bodyContentsFilePath] --bodyContentType [bodyContentType] --saveToSentItems [saveToSentItems]
  • subject: email subject
  • to: comma-separated list of emails to send the email to
  • bodyContents: string containing the body of the email to send
  • bodyContentsFilePath: relative or absolute path to the file with email body contents
  • bodyContentType: type of the body content. Available options: Text, HTML. Default Text
  • saveToSentItems: save email in the sent items folder. Default true
  • the body must be specified either using the bodyContents or the bodyContentsFilePath property
  • requires connection to the Microsoft Graph

For more information see https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/api/user_sendmail

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions