Hi,
i wanted to use smtp for the systemwide mailer but cannot get it to work.
cmsms 2.2.15
I have tried all combinations of ports 587 and 465 - encryption with tls and ssl.
authentication with mail users that are functioning with thunderbird.
Hostname mail.domain.tld and domain.tls with and without https://
I saw that phpmailer is used, i use the same version in a "handmade form" and
even the copied settings do not work in CMSMS.
I get "SMTP connect failed".
Anyone any idea what i oversee?
Regards,
Jan
cmsms mail and smtp - what settings
Re: cmsms mail and smtp - what settings
There shouldn't be any special tricks, I would dig into logs or ask your host to see if they can check where the connection failure is coming from.
Not getting the answer you need? CMSMS support options
Re: cmsms mail and smtp - what settings
Thanks,
i should have thought of that, i am the host.
I run this server with ispconfig.
regards,
Jan
i should have thought of that, i am the host.
I run this server with ispconfig.
regards,
Jan
Re: cmsms mail and smtp - what settings
Hi
I get an error:
AH01071: Got error 'PHP message: PHP Warning: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:\nerror:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed in /var/www/clients/client1/web50/web/lib/phpmailer/class.smtp.php on line 368', referer: https://stajl.nl/
When i check in https://www.digicert.com/help/
everything is OK
Line 368 is - $crypto_method
// enable encrypted connection
if (!stream_socket_enable_crypto(
$this->smtp_conn,
true,
$crypto_method
))
That is probably something for the PHPMailer people.
I will look into that.
Regards,
Jan
I get an error:
AH01071: Got error 'PHP message: PHP Warning: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:\nerror:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed in /var/www/clients/client1/web50/web/lib/phpmailer/class.smtp.php on line 368', referer: https://stajl.nl/
When i check in https://www.digicert.com/help/
everything is OK
Line 368 is - $crypto_method
// enable encrypted connection
if (!stream_socket_enable_crypto(
$this->smtp_conn,
true,
$crypto_method
))
That is probably something for the PHPMailer people.
I will look into that.
Regards,
Jan
Re: cmsms mail and smtp - what settings
I am looking at the latest PHPMailer to see if this one does not make problems.
Will take some time.
Jan
Will take some time.
Jan