Dart Home | PowerTCP Mail for ActiveX | Custom Development | Reply | PowerTCP Mail for ActiveX Topics | Forums |
Author | Forum: PowerTCP Mail for ActiveX Topic: SMTP, TLS / Why "Invalid authentication mechanism"? |
DieterStrassner From: Lampertheim, Germany Posts: 3 Member Since: 06/03/13 |
posted June 4, 2013 6:27 PM Properties: SMTP1.Privacy = privacyExplicitTLS SMTP1.Security = secureIgnoreCertificate Smtp1.TimeOut = 60000 Smtp1.Login "MyMailserver", strKontoSMTP, strPasswortSMTP SMTP1.TRACE activate Called Event: Private Sub SMTP1_Authenticate(ByVal RemoteCertificate As DartMail.ICertificate, _ ByVal TrustedRoot As Boolean, ByVal ValidDate As Boolean, _ ByVal ValidSignature As Boolean, Valid As Boolean) SMTP1.Certificate = RemoteCertificate ' Is this correct???? End Sub SMTP-Logfile: Empfang <--- 220 MyMailserver ESMTP Postfix (Ubuntu) Empfang <--- 250-MyMailserver 250-PIPELINING 250-SIZE 250-ETRN 250-STARTTLS 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN Empfang <--- 220 2.0.0 Ready to start TLS From Event "SMTP1_Authenticate": Friendlyname: Zentyal, Valid=Y" Empfang <--- 250-MyMailserver 250-PIPELINING 250-SIZE 250-ETRN 250-AUTH GSSAPI PLAIN 250-AUTH=GSSAPI PLAIN 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN Empfang <--- 535 5.7.8 Error: authentication failed: Invalid authentication mechanism After Login: Smtp1.State = tcpConnected Err.Number = 11101 "Unexpected protocol error. FATAL." Thx for help! Greetings from germany |
DieterStrassner From: Lampertheim, Germany Posts: 3 Member Since: 06/03/13 |
posted June 5, 2013 10:21 AM Hello, the Problem seems to be the authentication. The mailserver accepts only the following Capabilities: AUTH GSSAPI PLAIN AUTH=GSSAPI PLAIN How can I use one of this Capabilities? Thx! |
Nick B (Admin) From: Utica, NY USA Posts: 619 Member Since: 05/25/10 Extra Support Options Custom Application Development |
posted June 5, 2013 10:23 AM Hello, Please send the full log (including sent commands) into support@dart.com. Setting Smtp1.Certificate to the remote certificate is not correct. It's provided from the event for validation. The Smtp1.Certificate property is for the certificate you want your application to present to the server. |
Reply | PowerTCP Mail for ActiveX Topics | Forums |
This site is powered by PowerTCP WebServer for ActiveX |