Das Problem liegt vermutlich an falschen Zugangsdaten, weil Lupo die richtigen Daten nicht speichert.
Lupo-Version 2.1.7.3
Die Versanddaten für Office365 sind richtig eingetragen, der Verbindungstest wird auch bestätigt. (Siehe Bild).
Wenn ich aber dann einen Versand für einen Schüler (Einzelauswahl) versuche, hängt das Prg. und ich bekomme ein Fehlerfenster.
Dort steht ein falscher smtp-Benutzername, der leider nicht mit dem eingetragenen "SMTP-Benutzernam" (sic!) übereinstimmt.
(Ribeka scheint mit dem Mailversand über Office auf Kriegsfuß zu stehen,
wir haben da auch Probleme mit SchildMedia)

Das Fehlerfenster:
Code: Alles auswählen
ChilkatLog:
SendEmail:
DllDate: Feb 26 2020
ChilkatVersion: 9.5.0.82
UnlockPrefix: RIBEKA.CB4072020
Architecture: Little Endian; 32-bit
Language: Delphi DLL
VerboseLogging: 0
Component successfully unlocked using purchased unlock code.
sendEmailInner:
renderToMime_pt1:
createEmailForSending:
Auto-generating Message-ID
--createEmailForSending
--renderToMime_pt1
sendMimeInner:
ensureSmtpSession:
ensureSmtpConnection:
smtpParams:
SmtpHost: smtp.office365.com
SmtpPort: 587
SmtpUsername: dasisteinfalscherEintrag@gaensewinkel.de
SmtpSsl: 0
StartTLS: 1
--smtpParams
smtpConnect:
smtpHostname: smtp.office365.com
smtpPort: 587
connectionIsReady:
Need new SMTP connection
--connectionIsReady
smtpSocketConnect:
socketOptions:
SO_SNDBUF: 262144
SO_RCVBUF: 4194304
TCP_NODELAY: 1
SO_KEEPALIVE: 1
--socketOptions
--smtpSocketConnect
smtpGreeting:
readSmtpResponse:
SmtpCmdResp: 220 FR0P281CA0070.outlook.office365.com Microsoft ESMTP MAIL Service ready at Tue, 18 Mar 2025 14:29:14 +0000 [08DD65E089C91EE0]
--readSmtpResponse
--smtpGreeting
startTLS:
sendCmdToSmtp:
SmtpCmdSent: EHLO PC-ADMIN<CRLF>
--sendCmdToSmtp
readSmtpResponse:
SmtpCmdResp: 250-FR0P281CA0070.outlook.office365.com Hello [91.136.132.74]
SmtpCmdResp: 250-SIZE 157286400
SmtpCmdResp: 250-PIPELINING
SmtpCmdResp: 250-DSN
SmtpCmdResp: 250-ENHANCEDSTATUSCODES
SmtpCmdResp: 250-STARTTLS
SmtpCmdResp: 250-8BITMIME
SmtpCmdResp: 250-BINARYMIME
SmtpCmdResp: 250-CHUNKING
SmtpCmdResp: 250 SMTPUTF8
--readSmtpResponse
sendCmdToSmtp:
SmtpCmdSent: STARTTLS<CRLF>
--sendCmdToSmtp
readSmtpResponse:
SmtpCmdResp: 220 2.0.0 SMTP server ready
--readSmtpResponse
clientHandshake:
clientHandshake2:
readHandshakeMessages:
processHandshakeRecord:
processHandshakeMessage:
processServerHello:
TLS 1.3 server is negotiating TLS 1.2...
--processServerHello
--processHandshakeMessage
--processHandshakeRecord
--readHandshakeMessages
--clientHandshake2
--clientHandshake
TLS connection established.
--startTLS
ehloCommand:
sendCmdToSmtp:
SmtpCmdSent: EHLO PC-ADMIN<CRLF>
--sendCmdToSmtp
readSmtpResponse:
SmtpCmdResp: 250-FR0P281CA0070.outlook.office365.com Hello [91.136.132.74]
SmtpCmdResp: 250-SIZE 157286400
SmtpCmdResp: 250-PIPELINING
SmtpCmdResp: 250-DSN
SmtpCmdResp: 250-ENHANCEDSTATUSCODES
SmtpCmdResp: 250-AUTH LOGIN XOAUTH2
SmtpCmdResp: 250-8BITMIME
SmtpCmdResp: 250-BINARYMIME
SmtpCmdResp: 250-CHUNKING
SmtpCmdResp: 250 SMTPUTF8
--readSmtpResponse
--ehloCommand
--smtpConnect
--ensureSmtpConnection
ensureSmtpAuthenticated:
smtpAuthenticate:
smtp_host: smtp.office365.com
smtp_port: 587
smtp_user: dasisteinfalscherEintrag@gaensewinkel.de
smtpAuthenticate:
login_method: LOGIN
auth_login:
smtpSendGet2:
sendCmdToSmtp:
SmtpCmdSent: AUTH LOGIN<CRLF>
--sendCmdToSmtp
readSmtpResponse:
SmtpCmdResp: 334 VXNlcm5hbWU6
--readSmtpResponse
--smtpSendGet2
sendCmdToSmtp:
SmtpCmdSent: c2Nod2FkZXJsYXBAZ2FlbnNld2lua2VsLmRl<CRLF>
--sendCmdToSmtp
readSmtpResponse:
SmtpCmdResp: 334 UGFzc3dvcmQ6
--readSmtpResponse
sendCmdToSmtp:
SmtpCmdSent: {PasswordOrCredentials}
--sendCmdToSmtp
readSmtpResponse:
SmtpCmdResp: 535 5.7.139 Authentication unsuccessful, account has an issue. Contact your administrator. [FR0P281CA0070.DEUP281.PROD.OUTLOOK.COM 2025-03-18T14:29:20.899Z 08DD65E089C91EE0]
--readSmtpResponse
SMTP authentication failed after sending password.
Check your username/password or your SMTP server's auth settings
--auth_login
Failed to login using LOGIN method
--smtpAuthenticate
ConnectionType: SSL/TLS
--smtpAuthenticate
--ensureSmtpAuthenticated
--ensureSmtpSession
--sendMimeInner
--sendEmailInner
Failed.
--SendEmail
--ChilkatLog
das ist nicht der smtp-Username, sondern die Mailadresse des angemeldeten Beratungslehrers.