cmsms mail and smtp - what settings

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
janvl
Power Poster
Power Poster
Posts: 947
Joined: Wed Aug 13, 2008 10:57 am

cmsms mail and smtp - what settings

Post by janvl »

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
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1609
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: cmsms mail and smtp - what settings

Post by DIGI3 »

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
janvl
Power Poster
Power Poster
Posts: 947
Joined: Wed Aug 13, 2008 10:57 am

Re: cmsms mail and smtp - what settings

Post by janvl »

Thanks,
i should have thought of that, i am the host.
I run this server with ispconfig.

regards,
Jan
janvl
Power Poster
Power Poster
Posts: 947
Joined: Wed Aug 13, 2008 10:57 am

Re: cmsms mail and smtp - what settings

Post by janvl »

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
janvl
Power Poster
Power Poster
Posts: 947
Joined: Wed Aug 13, 2008 10:57 am

Re: cmsms mail and smtp - what settings

Post by janvl »

I am looking at the latest PHPMailer to see if this one does not make problems.
Will take some time.
Jan
Post Reply

Return to “CMSMS Core”