@peopleinside Hi there
Thanks for the update. So this worked as far as installation, but emails still are not working for any version of php such as 7.4, 8 and 8.1. I've confirmed that mailparse has been installed successfully based on checking extensions in PHP info settings. Upon checking command line I discovered a few things:
-
When I initiated the clear cache command even with the php 8.0 option you sent below for plesk, it crashed the site into a 500 error. This happened previously before this modification you sent and before I reached out for support. For some weird reason I cannot see logs on plesk to see what the error is as it doesnt show anything. In order for me to fix it id have to reinstall it, or it eventually ends up restarting to re-install itself so I re-entered the database and logins and chose not to create new database entries. I was able to get in like normal as if nothing happened and all settings and configuration was there except email settings.
-
After I entered the email config again I was getting the following errors:
Command bin/console uvdesk:refresh-mailbox email@myemail.com <- This was ran in the main folder of uvdesk where bin is
1. Processing uvdesk mailbox configuration.
2. Opening imap stream...
In RefreshMailboxCommand.php line 93:
Attempted to call function "imap_open" from namespace "Webkul\UVDesk\Mailbo
xBundle\Console".
uvdesk:refresh-mailbox [-t|--timestamp TIMESTAMP] [--] [<emails>...]
Another thing I tried was updating composer to see if that would fix the issue, Here is the outcome:
Command: /opt/plesk/php/8.0/bin/php /usr/lib/plesk-9.0/composer.phar update <-- Output was too long to post here
'/var/www/vhosts/mywebsite.com/httpdocs/mywebsite.com/help.mywebsite.com/var/cache/dev/twig/06/06559dad60d38ce76f39f62b015309198420b5a9ce87230237d5b154791df8c2.php'; protected $line = 444; private array ${Error}trace = [...]; private ?Throwable ${Error}previous = NULL }], $filter = *uninitialized*) /var/www/vhosts/mywebsite.com/httpdocs/mywebsite.com/help.mywebsite.com/vendor/symfony/monolog-bridge/Formatter/ConsoleFormatter.php:198
!! PHP 25. Symfony\Component\ErrorHandler\DebugClassLoader->loadClass($class = 'Symfony\\Component\\VarDumper\\Cloner\\Data') /var/www/vhosts/mywebsite.com/httpdocs/mywebsite.com/help.mywebsite.com/vendor/symfony/var-dumper/Cloner/AbstractCloner.php:297
!!
Script @auto-scripts was called via post-update-cmd
I've confirmed that IMAP is installed as an extension. Also, my email settings is setup as IMAP, and I am using my own email dns mail.mywebsite.com. I am also using lets encrypt for the uvdesk domain and mail server. My settings that work on email software is
Incoming - SSL/TLS Port 993
Outgoing - SSL/TLS Port 465
Email ID is support@mydomain.com, which works fine in my email software with the settings above.
Not sure what to do here.
Please advise, thanks so much.
EDIT: After testing a ticket submission after the updates, I now receive the error "Warning ! Swiftmailer not working. An error has occurred while sending emails!"