Menu
Welcome, Guest
Username: Password: Remember me

TOPIC: Outbound mail issues: SMTP Error: Could not connect to SMTP host

Outbound mail issues: SMTP Error: Could not connect to SMTP host 1 week 2 days ago #89240

  • smartsuitecrm
  • smartsuitecrm's Avatar
  • Offline
  • New Member
  • Posts: 7
  • Thank you received: 1
  • Karma: 0
Hi,

on a new SuiteCRM installation Version 7.11.7 I have problems to setup emails via smtp in Admin > outbound emails,

Some mails suddenly worked after many failed tries with correct logins.

But I it does not work with specific mails hosted on a exchange server which are really needed in SuiteCRM. For inbound they are working fine,

But when I try to set the same mail for outbound / smtp I get the following error messeges (I anonymized the different server adresses with placeholders):

3: Connection: opening to mail.xxxxx.de:587, timeout=300, options=array()
3: Connection: opened
2: SERVER -> CLIENT: 220 relay.zzzzz.com ESMTP ready.

1: CLIENT -> SERVER: EHLO crm.yyyyyyyy.de

2: SERVER -> CLIENT: 250-relay.zzzzz.com Hello aaa.bbbbbb.org [11.222.33.444]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250-AUTH PLAIN LOGIN
250-STARTTLS
250 HELP

1: CLIENT -> SERVER: STARTTLS

2: SERVER -> CLIENT: 220 TLS go ahead

3: Connection failed. Error #2: stream_socket_enable_crypto(): Peer certificate CN=`*.zzzzz.com' did not match expected CN=`mail.xxxxx.de' [/usr/path-to-my-SuiteCRM/installation/vendor/phpmailer/phpmailer/src/SMTP.php line 404]
3: SMTP Error: Could not connect to SMTP host.
1: CLIENT -> SERVER: QUIT

2: SERVER -> CLIENT: 221 relay.zzzzz.com closing connection

3: Connection: closed
3: SMTP Error: Could not connect to SMTP host



I have searched the forum and web for a solution, but nothing worked for me - in the following forum post someone struggled with the same error and fixed it with a ssl cert install on his site (but my site already runs with a Lets encrypt cert):

SMTP Error: Could not connect to SMTP host.


Does anyone have an idea?

Could my current PHP Version be the reason for this issue? The System Check in > Admin > Upgrade Wizard told me the current php version is 7.0.16. And the recommend PHP-Version are 7.1.0 or higher.


I am really struggling with this - and it would great if someone out there could help!


Thanks a lot in advance - best regards
Last Edit: 1 week 2 days ago by smartsuitecrm.
The administrator has disabled public write access.

Outbound mail issues: SMTP Error: Could not connect to SMTP host 1 week 2 days ago #89245

  • ashish@outrightcrm.com
  • ashish@outrightcrm.com's Avatar
  • Offline
  • SuiteCRM Is My Life
  • CTO at outright Systems
  • Posts: 409
  • Thank you received: 46
  • Karma: 5
Did you checked outbound port is allowed?
Check your outbound traffic allow status.
The administrator has disabled public write access.
Time to create page: 0.052 seconds
Powered by Kunena Forum