Topic: *SOLVED*-- Send Error after Update to iredmail 1.6.2 & Roundcube 1.6.1
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.6.2
- Deployed with iRedMail Easy or the downloadable installer?downloadable installer
- Linux/BSD distribution name and version: Ubuntu 20.04.2 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MariaDB
- Web server (Apache or Nginx):NGinx
- Manage mail accounts with iRedAdmin-Pro?Yes
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
Portion of Roundcube Error Log: Pertinent info when email Send attempt:
Mar 21 17:02:56 mx roundcube: PHP Fatal error: Uncaught Error: Call to undefined method Net_SMTP::starttls() in /opt/www/roundcubemail-1.4.11/program/lib/Roundcube/rcube_smtp.php:164
Mar 21 17:02:56 mx roundcube: Stack trace:
Mar 21 17:02:56 mx roundcube: #0 /opt/www/roundcubemail-1.4.11/program/lib/Roundcube/rcube.php(284): rcube_smtp->connect()
Mar 21 17:02:56 mx roundcube: #1 /opt/www/roundcubemail-1.4.11/program/lib/Roundcube/rcube.php(1783): rcube->smtp_init()
Mar 21 17:02:56 mx roundcube: #2 /opt/www/roundcubemail-1.4.11/program/include/rcmail_sendmail.php(436): rcube->deliver_message()
Mar 21 17:02:56 mx roundcube: #3 /opt/www/roundcubemail-1.4.11/program/actions/mail/send.php(245): rcmail_sendmail->deliver_message()
Mar 21 17:02:56 mx roundcube: #4 /opt/www/roundcubemail-1.4.11/program/include/rcmail.php(282): rcmail_action_mail_send->run()
Mar 21 17:02:56 mx roundcube: #5 /opt/www/roundcubemail-1.4.11/index.php(278): rcmail->action_handler()
Mar 21 17:02:56 mx roundcube: #6 {main}
Mar 21 17:02:56 mx roundcube: thrown in /opt/www/roundcubemail-1.4.11/program/lib/Roundcube/rcube_smtp.php on line 164
====
After upgrade to iredmail 1.6.2, Roundcube webmail receives error "Connection Error (Failed to reach the server)" when attempting to send message. I upgraded Roundcube to vesion 1.6.1 because I was behind a couple of updates of iredmail and didn't realize that during the upgrade that 1.6.1 is not supported in 1.6.2 version of iredmail. Is there any fix for this issue?
I did make a backup of the Roundcube folder but am unsure how to revert to previous version.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.