I am looking for a way to send an email from a PHP script using a sime Mail function, but it needs to be sent as a Task Request to Outlook / Exchange. I can successfully have it sent to the correct email address (firstname.lastname@example.org), but can't for the life of me figure out how to get it into a Task Request (assigned task) format.
Partial current script:
$headers = "From: $requestor\r\nReply-To: email@example.com" .
"MIME-Version: 1.0\n" .
"Content-type: text/html; charset=iso-8859-1";
mail ($mailto, "Task Janitorial Services", $body, $headers);
My company uses Task Requests created in Outlook to send to various departments, such as Janitorial Services, and tracks those tasks until completed. I have created a form that uses a simple Mail function to send HTML emails to various email addresses, and it works great. However, I now have department leaders requesting forms that can be used to submit Task Requests the same way.
Is there a script someone has that can accomplish this?