How to send an email from an outlook office add on?

I am trying to build an outlook add on, using react. I looked everywhere trying to find something that uses the mailbox in which the addon has been opened from, to programmatically send an email to a specified user.

Something similar to the google's command:

  GmailApp.createDraft(e.parameters.address, e.parameters.subject, e.parameters.body, {
    htmlBody: e.parameters.body,
    name: 'Automatic Sender'
  }).send();

Is the mail-sending process available on outlook?



Comments

Popular posts from this blog

Today Walkin 14th-Sept

Spring Elasticsearch Operations

Hibernate Search - Elasticsearch with JSON manipulation