Noch eine Ergänzung: Die CALL Objekte werden immer über den Server geschickt.
Und unten noch ein Beispiel einer erfolgreichen Übermittlung mit Authentifizierung. Die Zeile
SMTP recv: 250-AUTH LOGIN
zeigt z.B. an, welche Authentifizierung der SMTP-Server erwartet. D.h., wenn man sich nicht sicher ist, was erwartet wird, kann man es mit den oben erwähnten Trace-Flags herausfinden.
20170321/134247.721 - Before call ucsmtp_sendMail2
20170321/134247.723 - SMTP recv: 220 f843de531aaD.company.com Microsoft ESMTP MAIL Service ready at Tue, 21 Mar 2017 13:42:46 +0100
20170321/134247.723 - SMTP send: EHLO s1597aeap001
20170321/134247.724 - SMTP recv: 250-f843de531aaD.company.com Hello [12.34.56.12]
20170321/134247.724 - SMTP recv: 250-SIZE 10485760
20170321/134247.724 - SMTP recv: 250-PIPELINING
20170321/134247.724 - SMTP recv: 250-DSN
20170321/134247.724 - SMTP recv: 250-ENHANCEDSTATUSCODES
20170321/134247.724 - SMTP recv: 250-STARTTLS
20170321/134247.724 - SMTP recv: 250-X-ANONYMOUSTLS
20170321/134247.724 - SMTP recv: 250-AUTH LOGIN
20170321/134247.724 - SMTP recv: 250-X-EXPS GSSAPI NTLM
20170321/134247.724 - SMTP recv: 250-8BITMIME
20170321/134247.724 - SMTP recv: 250-BINARYMIME
20170321/134247.724 - SMTP recv: 250-CHUNKING
20170321/134247.724 - SMTP recv: 250-XEXCH50
20170321/134247.724 - SMTP recv: 250-XRDST
20170321/134247.724 - SMTP recv: 250 XSHADOW
20170321/134247.724 - SMTP send: AUTH LOGIN
20170321/134247.725 - SMTP recv: 334 *******************
20170321/134247.725 - SMTP send: ***********************
20170321/134247.725 - SMTP recv: 334 *******************
20170321/134247.725 - SMTP send: ***********************
20170321/134247.813 - SMTP recv: 235 2.7.0 Authentication successful
20170321/134247.813 - SMTP send: MAIL FROM:<de-aedev@company.com>
20170321/134247.813 - SMTP recv: 250 2.1.0 Sender OK
20170321/134247.813 - SMTP send: RCPT TO:<test@company.com>
20170321/134247.814 - SMTP recv: 250 2.1.5 Recipient OK
20170321/134247.814 - SMTP send: DATA
20170321/134247.814 - SMTP recv: 354 Start mail input; end with <CRLF>.<CRLF>
20170321/134247.814 - SMTP send: Date: Tue, 21 Mar 2017 13:42:47 +0100
20170321/134247.814 - SMTP send: From: <de-aedev@company.com>
20170321/134247.814 - SMTP send: To: <de-testdaniela@company.com>
20170321/134247.814 - SMTP send: Reply-To: <operation-center@company.com>
20170321/134247.814 - SMTP send: Subject: Betreff
20170321/134247.814 - SMTP send:
20170321/134247.814 - SMTP send: Text
20170321/134247.814 - SMTP send: .
20170321/134248.387 - SMTP recv: 250 2.6.0 <74272a81-8ea6-47d5-9f0d-79894fb15673@f843de531aaD.company.com> [InternalId=4098493] Queued mail for delivery
20170321/134248.387 - SMTP send: QUIT
20170321/134248.388 - SMTP recv: 221 2.0.0 Service closing transmission channel
20170321/134248.388 - After call ucsmtp_sendMail2
Danke
CarstenBerberich606460 für den Hinweis und die Daten.