php-ews icon indicating copy to clipboard operation
php-ews copied to clipboard

Make it easier to send emails with Attachments

Open Garethp opened this issue 9 years ago • 0 comments

At the moment, to send an email with attachments, it's required to first Create the item unsent, then Create and Attachment for that item, then Send the unsent item. Only the first part has an easy access method. We'll need the following methods

  • createAttachments(ItemIdType $mailId, $attachments, array $options = array())
  • sendItem(ItemidType $mailId, array $options = array())

As well as a

  • sendMailWithAttachments($message, $attachments, array $options = array())

method

Garethp avatar Oct 19 '16 21:10 Garethp