Menu

Welcome, Guest
Username: Password: Remember me

TOPIC: SMTP connect() failed.

SMTP connect() failed. 5 days 13 hours ago #69245

  • kishah2411
  • kishah2411's Avatar
  • Offline
  • New Member
  • Posts: 5
  • Karma: 0
I have issue in Outbound Email.
Some days before Email Setting working properly.

Suddenly setting is not working. I am checking and reset all setting but facing following error in log:

SugarPHPMailer encountered an error: SMTP Error: Could not authenticate.


Please help me related this issue
The administrator has disabled public write access.

SMTP connect() failed. 5 days 13 hours ago #69249

  • pgr
  • pgr's Avatar
  • Offline
  • Administrator
  • Posts: 6868
  • Thank you received: 1048
  • Karma: 244
What is your SuiteCRM version?

What did you change to make it stop working? Did you upgrade?

That error is coming from your email server. It's typically caused by a wrong password... if you go into the email settings, and try the "send test email" button, and it fails, you get a link to an extended log that might help you figure out the cause.
The administrator has disabled public write access.

SMTP connect() failed. 5 days 13 hours ago #69254

  • kishah2411
  • kishah2411's Avatar
  • Offline
  • New Member
  • Posts: 5
  • Karma: 0
I am using SuiteCRM v 7.9.7

I have not upgrade suite in between working and not working email setting.

Same Email setting working in another suite with same version.

Yes May be last log due to wrong password

but another log is:
-->  SugarPHPMailer encountered an error: An outgoing mail server is not configured to send emails. Please configure an outgoing mail server or select an outgoing mail server for the mail account that you are using in Settings >> Mail Account.
--> SugarPHPMailer encountered an error: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
Last Edit: 5 days 13 hours ago by kishah2411. Reason: Need to update line
The administrator has disabled public write access.

SMTP connect() failed. 5 days 12 hours ago #69256

  • pgr
  • pgr's Avatar
  • Offline
  • Administrator
  • Posts: 6868
  • Thank you received: 1048
  • Karma: 244
In the "Send Test Email" button, do you see a link saying "SMTP Full log" when it fails?
The administrator has disabled public write access.

SMTP connect() failed. 21 hours 3 minutes ago #69442

  • hoasenvang7799
  • hoasenvang7799's Avatar
  • Offline
  • Junior Member
  • I want a banana
  • Posts: 28
  • Thank you received: 3
  • Karma: 0
Hello Mr @pgr
I do not know how to describe it, with version 7.10.5 emailing with SMTP is perfect. However, when upgrade to version 7.10.7, will not be able to send emails. error related to class.smtp.php
3: Connection: opening to ssl://smtp.yandex.com:465, timeout=300, options=array (
)
3: Connection failed. Error #2: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed [/home/myaccounthere/public_html/suitecrm.yesdomain.com/include/phpmailer/class.smtp.php line 298]
3: Connection failed. Error #2: stream_socket_client(): Failed to enable crypto [/home/myaccounthere/public_html/suitecrm.yesdomain.com/include/phpmailer/class.smtp.php line 298]
3: Connection failed. Error #2: stream_socket_client(): unable to connect to ssl://smtp.yandex.com:465 (Unknown error) [/home/myaccounthere/public_html/suitecrm.yesdomain.com/include/phpmailer/class.smtp.php line 298]
1: SMTP ERROR: Failed to connect to server:  (0)
3: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

* I tried changing to Google Mail but could not improve the situation!
Please help me for this issue. Thanks
Enjoy and passionate Open Source
The administrator has disabled public write access.

SMTP connect() failed. 19 hours 59 minutes ago #69448

  • pgr
  • pgr's Avatar
  • Offline
  • Administrator
  • Posts: 6868
  • Thank you received: 1048
  • Karma: 244
Check your server certificate. Or get one with Let's Encrypt, if you don't have one already.

I don't know exactly what changed in that upgrade, probably a new version of phpmailer inside SuiteCRM. It is also possible that your certificate simply expired around the same time.

But that error is coming from the server, and it's a SSL error.
The administrator has disabled public write access.
Time to create page: 0.101 seconds
Powered by Kunena Forum