I migrated my OC V3 installation as is from my previous shared hosting (using cPanel) to a Ubuntu VPS using php7.4, the site is running good except for the email sending from php.
I'm getting this error in the logs:
Code: Select all
PHP Fatal error: Uncaught Exception: Error: EHLO not accepted from server!
Mail Engine: SMTP
Mail Parameters: [none]
SMTP Hostname: ssl://hostname
SMTP Password: [one used to successfully login to roundcube email]
SMTP Port: 465
SMTP Timeout: 10 (was originally 5)
I have also tried using tls://hostname with Port: 587 but the exact same error happens.
I spoke to my email host and they said everything is correct on their side, they said "The issue could be on the SMTP form or the PHP version you are using".
I would really appreciate your help with this matter.