Hi all,
i can't send mail from vm 8.0.6 installed on osx high sierra 10.13
I've created the example in faqs under htdocs and here is the errors:
[15-May-2021 15:42:27 Europe/Berlin] PHP Fatal error: Uncaught Error: Call to a member function connect() on null in /opt/lampp/lib/php/Net/SMTP.php:447
Stack trace:
#0 /opt/lampp/lib/php/Mail/smtp.php(385): Net_SMTP->connect(NULL)
#1 /opt/lampp/lib/php/Mail/smtp.php(271): Mail_smtp->getSMTPObject()
#2 /opt/lampp/lib/php/Mail/smtp.php(258): Mail_smtp->send_or_fail('gabriele.cecchi...', Array, 'test')
#3 /opt/lampp/htdocs/mail.php(23): Mail_smtp->send('gabriele.cecchi...', Array, 'test')
#4 {main}
thrown in /opt/lampp/lib/php/Net/SMTP.php on line 447
[15-May-2021 15:42:27 Europe/Berlin] PHP Fatal error: Uncaught Error: Call to a member function write() on null in /opt/lampp/lib/php/Net/SMTP.php:264
Stack trace:
#0 /opt/lampp/lib/php/Net/SMTP.php(302): Net_SMTP->_send('QUIT\r\n')
#1 /opt/lampp/lib/php/Net/SMTP.php(491): Net_SMTP->_put('QUIT')
#2 /opt/lampp/lib/php/Mail/smtp.php(432): Net_SMTP->disconnect()
#3 /opt/lampp/lib/php/Mail/smtp.php(230): Mail_smtp->disconnect()
#4 [internal function]: Mail_smtp->__destruct()
#5 {main}
thrown in /opt/lampp/lib/php/Net/SMTP.php on line 264
With xampp installed locally in osx system it works (this version and the old previous 5.16).
can someone help me ?
thanks
Regards,
Gabriele