15.x: Email sending through smtp fails with php 5.6 and/or Zend 2.6
- Status
- Open
- Subject
- 15.x: Email sending through smtp fails with php 5.6 and/or Zend 2.6
- Version
- 15.x
15.x Regression - Category
- Regression
- Feature
- Watch (email notifications of changes)
- Resolution status
- Confirmed
- Submitted by
- Xavier de Pedro
- Volunteered to solve
- Jonny Bradley
- Lastmod by
- Xavier de Pedro
- Rating
- Description
I did a quick test of mail seding (through tiki-admin.php?page=general) with a computer recently upgraded from Ubuntu 14.04 to Ubuntu 16.04, which comes with php7 by default. Attempting to send a test email through smtp with tiki 15.x svn fails with this message:
Copy to clipboardUnable to send mail Array ( [0] => Unable to connect via TLS )
Same setup with Ubuntu 14.04 works as expected: emails sent (and reported as such by tiki, as usual, etc):
PHP Version 5.5.9-1ubuntu4.14
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend TechnologiesI downgraded the php in Ubuntu 16.04 to use php 5.6 (in both web app and php-cli).
Same error persisted.
PHP Version 5.6.21-1+donate.sury.org~xenial+2
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
Maybe the error came with Zend Engine 2.5->2.6 and Tiki15?
Or maybe there is some issue with openssl in php in php5.6 AND php7.0 compared to php 5.5?
-Standard email sending (directly through sendmail or postifx but no smtp set) works as expected. It didn't work before due to missing system packages
UPDATE:
- retested using three different XAMPP packages, all of them on top of the same Ubuntu 16.04 64 bit box. Issue reproduced in xampp 5.6 and 7.0, but works as expected in xampp 5.5 (PHP Version 5.5.35.35; Zend Engine v2.5.0).
- Importance
- 8
- Easy to solve?
- 7
- Priority
- 56
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 5920
- Created
- Friday 29 April, 2016 16:07:19 UTC
by Xavier de Pedro - LastModif
- Tuesday 31 May, 2016 16:19:16 UTC