-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
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
FileAttachments #37
Comments
Do you have a PHP error you can paste? That example was pasted directly from a test file that worked for me. |
Hey, sorry for the issue. It is working without problems. I got confused because my IDE did not show autocompletion. |
Works for mail items too $this->api->getClient()->CreateAttachment(array(
'ParentItemId' => $itemId->toArray(),
'Attachments' => array('FileAttachment' => array(
'Name' => $attachment->getName(),
'Content' => $content,
'ContentType' => 'text',
'IsContactPhoto' => false
))
));
´´´ |
No problem, I thought that might be the case. It's something I want to get around to eventually. The reason is that the |
Hi
uploadContactPhoto example is not working, because client does not have a method CreateAttachment(). I wanted to attach some files to an outgoing email. I guess it works the same as for contact photos?
The text was updated successfully, but these errors were encountered: