-
-
Notifications
You must be signed in to change notification settings - Fork 156
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
Attachments not found on some messages #348
Comments
I miss also Files. If i send from Outlook 2 inline & 2 attached Images-Files, i receicve only 2 Files. If i attach a rfc822-Forwarded-Email and different other Files, only the rfc ist available, not the other Files. |
Perhaps this is an add-on to the problem I'm having. |
Check this PR and give feedback if it solve your problem. #372 |
Please update to v5.1 and give it another try. Best regards, |
Describe the bug
Attachment not show on specific message, if same message is open on Thunderbird, Outlook or other clients (even web one like Roundcube) the attachments are shown
Used config
All settings are default.
Below the php-imap version:
composer show webklex/php-imap
name : webklex/php-imap
descrip. : PHP IMAP client
keywords : imap, mail, php-imap, pop3, webklex
versions : * 4.1.2
type : library
license : MIT License (MIT) (OSI approved) https://spdx.org/licenses/MIT.html#licenseText
homepage : https://github.com/webklex/php-imap
source : [git] https://github.com/Webklex/php-imap.git 94bf93a
dist : [zip] https://api.github.com/repos/Webklex/php-imap/zipball/94bf93ae8868ac1e073cfbaef377f0ca1acac2bc 94bf93a
path : [REDACTED]/vendor/webklex/php-imap
names : webklex/php-imap
support
issues : https://github.com/Webklex/php-imap/issues
source : https://github.com/Webklex/php-imap/tree/4.1.2
autoload
psr-4
Webklex\PHPIMAP\ => src
requires
ext-fileinfo *
ext-iconv *
ext-json *
ext-mbstring *
ext-openssl *
illuminate/pagination >=5.0.0
nesbot/carbon >=1.0
php >=7.0.0
symfony/http-foundation >=2.8.0
requires (dev)
phpunit/phpunit ~4.0
suggests
symfony/mime Recomended for better extension support
Code to Reproduce
call
$attachments = $message -> getAttachments();
$attachments->count()
return 0 even if an attachments is present.
Expected behavior
I need to extract attachments from message using $attachment->getAttributes()['content']
Screenshots
Desktop / Server (please complete the following information):
Additional context
attached below you will find an eml that can be used to test this case, is zip compressed otherwise I can't upload it.
2 - test_attachment_not_reconized.zip
The text was updated successfully, but these errors were encountered: