2022-03-23

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?



No comments:

Post a Comment