This topic contains 2 replies, has 3 voices, and was last updated by Matej 6 years, 2 months ago.
- Topic
After Upgrading to OROCRM 2.4.2, e-mail attachments are not send, please see detailed description below.
1. Application related information:
Application Type: OroCRM
Application Version: 2.4.2 (Platform also on 2.4.2)
Application Edition: Community
2. Environment related information:OS, name and version: Ubuntu 16.04.2 LTS
Web server, name and version: Apache/2.4.18
Database, name and version: MariaDB 10.0.29
PHP, version: PHP 7.0.153. Steps to reproduce:
1) Open e-mail dialog from anywhere withing orocrm
2) Add recipient, Subject and Body (does not matter if text or html)
3) Add attachment via ‘Upload’ -> Attachment with filename is shown below
4) click sendExpected result:
1) E-mail is delivered with attachment to recipients mailbox ans should also come up within ‘my emails’
Actual result:
1) E-Mail Text is delivered, attachment is missing (both in CRM View ‘my emails’ as well as in recipient mailbox.
When adding a file via ‘add attachment’ to any entity in prior, the attachment can be added and send via mail and is delivered. So this seems to be a problem with the upload process inside the e-mail edit window.
Log-File also shows following errors since the last update:
1[2017-11-15 18:52:33] console.ERROR: An error occurred while running command "'oro:message-queue:consume' --env=prod". Type error: Argument 1 passed to Oro\Bundle\ImapBundle\Provider\ImapEmailFlagManagerLoader::select() must be an instance of Oro\Bundle\EmailBundle\Entity\EmailFolder, boolean given, called in /var/www/html/vendor/oro/platform/src/Oro/Bundle/EmailBundle/Manager/EmailFlagManager.php on line 113 {"exit_code":0,"exception":"[object] (Symfony\\Component\\Debug\\Exception\\FatalThrowableError(code: 0): Type error: Argument 1 passed to Oro\\Bundle\\ImapBundle\\Provider\\ImapEmailFlagManagerLoader::select() must be an instance of Oro\\Bundle\\EmailBundle\\Entity\\EmailFolder, boolean given, called in /var/www/html/vendor/oro/platform/src/Oro/Bundle/EmailBundle/Manager/EmailFlagManager.php on line 113 at /var/www/html/vendor/oro/platform/src/Oro/Bundle/ImapBundle/Provider/ImapEmailFlagManagerLoader.php:59)","arguments":{"command":"oro:message-queue:consume"},"options":{"env":"prod"}} []Last thing, also e-mail related:
When a users e-mail folder is imported, messages sent externally (user->customer) are imported via imap correctly. Nevertheless all e-mail Content (original is html) is escaped in orocrm views which makes the messages unreadable.When the messages are sent via oro directly (orouser -> customer), html content is recognized the right way and displayed formatted. Also external e-mails (customer-> orouser) get imported correctly and display as html content. Maybe this is related to the main issue too?
Best Regards
Martin
The forum ‘OroCRM – Installation/Technical Issues or Problems’ is closed to new topics and replies.