Skip to content
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

$message->getAttachments() does not return anything, even though a message has at least one attachment #71

Closed
raulp opened this issue Jan 28, 2015 · 3 comments

Comments

@raulp
Copy link

raulp commented Jan 28, 2015

Hey

When calling getAttachments, i don't get anything back
Upon doing some research, i saw that the function getParts() is not returning the parts as instance of Message\Attachments, but the getAttachments() function is looking for that
Looking further in the getParts function i saw that my parts don't show up a disposition ( which is why the parts are returned as a Part instead of an Attachment instance )

Here's a gist with the array returned by parseStructure() for all the elements of my email:
https://gist.github.com/raulp/ce7236054284e751f713

Let me know if you need any other info ...
Thank you

@ddeboer
Copy link
Owner

ddeboer commented Jan 29, 2015

Closing as a duplicate of #55. Thanks for reporting though, I understand this is a real issue and will fix it soon.

@ddeboer ddeboer closed this as completed Jan 29, 2015
@raulp
Copy link
Author

raulp commented Jan 29, 2015

Read #55, but wanted to provide more insight of what i found and for my specific case, just to help
So if you need anything from my end, like messages and stuff, let me know

Thanks !!

@ddeboer
Copy link
Owner

ddeboer commented Jan 29, 2015

Cool, thank you @raulp!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants