We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
I want to attach an .eml file to a Exchange Draft. The issue is that it attaches the message, but the MIME attachment in email is with
Content-Type: application/octet-stream
and it doesn't have a preview available for Outlook desktop.
$api->getClient()->CreateAttachment(array ( 'ParentItemId' => $mailId->toArray(), 'Attachments' => array ( 'FileAttachment' => array ( 'Name' => 'message.eml', 'Content' => file_get_contents('message.eml'), 'ContentType' => 'message/rfc822' ) ), ));
If I try to change ContentType' => 'message' it places on the email Content-Type: message/rfc822, but it has empty Content
ContentType' => 'message'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello,
I want to attach an .eml file to a Exchange Draft. The issue is that it attaches the message, but the MIME attachment in email is with
Content-Type: application/octet-stream
and it doesn't have a preview available for Outlook desktop.
If I try to change
ContentType' => 'message'
it places on the email Content-Type: message/rfc822, but it has empty Content
The text was updated successfully, but these errors were encountered: