wir benutzen die ASINET.DLL für Email-Versand. Das hat bisher auch immer alles geklappt. Jetzt haben wir auf die Microsoft-Wolke umgestellt. D.h. eine Art Online-Exchange - funktioniert ansonsten alles perfekt - nur nicht per Xbase++.
Code: Alles auswählen
oSmtp := SMTPClient():new( "pod62622.outlook.com",587,"PAKKKER.DE", oLog, 2 )
IF oSmtp:connect("supp@xserv.com","OpaLucky123?")
else
// hier Fehler 10049
// "Info: Socket created successfully"
// "Info: Successfully connected to pod62622.outlook.com"
// "Info: Server response: 220 pod62622.outlook.com Microsoft ESMTP MAIL Service ready at Wed, 28 Mar 2012 14:31:27 +0000
// "Info: Server response: 250-pod62622.outlook.com Hello [212.202.155.238]
250-SIZE 36700160
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-STARTTLS
250-AUTH
250-8BITMIME
250-BINARYMIME
250 CHUNKING
// "Info: Sending: AUTH LOGIN"
// "Info: Server response: 451 4.7.0 Timeout waiting for client input"
// "Error: Unexpected response from server 451 4.7.0 Timeout"
endif
DNS name or the IP address of the SMTP server : "pod62622.outlook.com"
Port : 587
Username: supp@xserv.com"
Password: "OpaLucky123?"
Die Daten stimmen nicht - sind nur Beispiele -
Grüße, Armin