rileydutton / Exchange-Web-Services-for-PHP

A basic library for interacting with Exchange Web Services using PHP 5.
MIT License
91 stars 42 forks source link

ErrorMessageDispositionRequired when sending email #20

Open leuler opened 8 years ago

leuler commented 8 years ago

Hi,

when sending an email like so $ec->send_message("dummy@example.com", "Subject", "Content");, the function returns 0 and print_r($ec->lastError); shows ErrorMessageDispositionRequired.

I was able work around this using $ec->send_message("dummy@example.com", "Subject", "Content", "Text", false); but it would be nice if this worked even with $saveinsent = true.

I believe the server I use runs Exchange 2013.

Thanks!