- Posts: 8
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
2016-10-06 18:32:30
SERVER -> CLIENT: 220 Cas1 Microsoft ESMTP MAIL Service ready at Thu, 6 Oct 2016 15:32:30 -0300 2016-10-06 18:32:30
CLIENT -> SERVER: EHLO feedback.arnaldocastro.com.uy 2016-10-06 18:32:30
SERVER -> CLIENT:
250-Cas1 Hello [10.100.100.30]
250-SIZE 36700160
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-STARTTLS
250-X-ANONYMOUSTLS
250-AUTH NTLM LOGIN
250-X-EXPS GSSAPI NTLM
250-8BITMIME
250-BINARYMIME
250-CHUNKING
250 XRDST 2016-10-06 18:32:30
CLIENT -> SERVER: STARTTLS 2016-10-06 18:32:30
SERVER -> CLIENT: 220 2.0.0 SMTP server ready 2016-10-06 18:32:30 SMTP Error: Could not connect to SMTP host. 2016-10-06 18:32:30 CLIENT -> SERVER: QUIT 2016-10-06 18:32:30
SERVER -> CLIENT: 2016-10-06 18:32:30
SMTP ERROR: QUIT command failed: 2016-10-06 18:32:30
SMTP connect() failed. github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
This looks like an issue in the PHPMailer library.accsa wrote: As you can see I've remarked the line which I believe is the problem, the client (limesurvey) is starting the communication with TLS despite I have not selected SMTP TLS encode option.
What version/build of LimeSurvey is used? What version of PHP is used?Opportunistic TLS
PHPMailer 5.2.10 introduced opportunistic TLS - if it sees that the server is advertising TLS encryption (after you have connected to the server), it enables encryption automatically, even if you have not set SMTPSecure. This might cause issues if the server is advertising TLS with an invalid certificate, but you can turn it off with $mail->SMTPAutoTLS = false;.
Perhaps you first try the update.accsa wrote: OK, thanks for your help, I'm trying a couple of things.
-Fixed issue: TLS handshake used even if no TLS is set in SMTP settings
accsa wrote: I have configured the SMTP options using my mail server.
In the encoding SMTP options I selected the "disabled" option (I use the spanish version so the name may be different).
The connection to the mailserver is fine and I'm able see the communication logs, but I can't send mails, I'm having this error:
SMTP connect() failed. github.com/PHPMailer/PHPMailer/wiki/TroubleshootingTrazado de la salida del SMTP: 2016-10-06 18:32:30
SERVER -> CLIENT: 220 Cas1 Microsoft ESMTP MAIL Service ready at Thu, 6 Oct 2016 15:32:30 -0300 2016-10-06 18:32:30
CLIENT -> SERVER: EHLO feedback.arnaldocastro.com.uy 2016-10-06 18:32:30
SERVER -> CLIENT:
250-Cas1 Hello [10.100.100.30]
250-SIZE 36700160
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-STARTTLS
250-X-ANONYMOUSTLS
250-AUTH NTLM LOGIN
250-X-EXPS GSSAPI NTLM
250-8BITMIME
250-BINARYMIME
250-CHUNKING
250 XRDST 2016-10-06 18:32:30
CLIENT -> SERVER: STARTTLS 2016-10-06 18:32:30
SERVER -> CLIENT: 220 2.0.0 SMTP server ready 2016-10-06 18:32:30 SMTP Error: Could not connect to SMTP host. 2016-10-06 18:32:30 CLIENT -> SERVER: QUIT 2016-10-06 18:32:30
SERVER -> CLIENT: 2016-10-06 18:32:30
SMTP ERROR: QUIT command failed: 2016-10-06 18:32:30
SMTP connect() failed. github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
As you can see I've remarked the line which I believe is the problem, the client (limesurvey) is starting the communication with TLS despite I have not selected SMTP TLS encode option.
Any ideas of how can I resolve this problem?, thanks in advance.