Question:
My program worked fine for any years, but since last 2 weeks the mail sending fails (i changed nothing). My customer uses web.de (a german email provider). web.de uses for smtp, StartTLS over port 587. I do not know if there something has changed. My customer has in his system (Windows Server 2003 R2) installed a new router, and since then the mail delivery stops working.
15.09.2015 08:42:59
ChilkatLog:
VerifySmtpConnection(60157ms):
DllDate: Aug 26 2015
ChilkatVersion: 9.5.0.52
UnlockPrefix: SOZIALMAILQ
Username: xxxxxxx
Architecture: Little Endian; 32-bit
Language: ActiveX
VerboseLogging: 1
smtpConnectAndAuthenticate(60157ms):
smtpConnect(60157ms):
smtpHostname: smtp.web.de
smtpPort: 587
connectionIsReady:
Need new SMTP connection
--connectionIsReady
smtpSocketConnect:
socket2Connect:
connect2:
hostname: smtp.web.de
port: 587
ssl: 0
connectSocket:
domainOrIpAddress: smtp.web.de
port: 587
connectTimeoutMs: 30000
connect_ipv6_or_ipv4:
Multi-threaded domain to IP address resolution
connecting to IPV4 address...
ipAddress: 213.165.67.108
createSocket:
Setting SO_SNDBUF size
sendBufSize: 262144
Setting SO_RCVBUF size
recvBufSize: 4194304
--createSocket
connect:
myIP: 192.168.178.5
myPort: 3584
socket connect successful.
--connect
--connect_ipv6_or_ipv4
--connectSocket
--connect2
--socket2Connect
Turning on TCP_NODELAY.
socketOptions:
SO_SNDBUF: 262144
SO_RCVBUF: 4194304
--socketOptions
--smtpSocketConnect
smtpGreeting(30078ms):
readSmtpResponse(30078ms):
recvUntilMatch: Socket operation timeout.
nReceived: 0
idleTimeoutMs: 30000
--readSmtpResponse
--smtpGreeting
Failed to get initial SMTP response..
Will re-try one time...
smtpSocketConnect:
socket2Connect:
connect2:
hostname: smtp.web.de
port: 587
ssl: 0
connectSocket:
domainOrIpAddress: smtp.web.de
port: 587
connectTimeoutMs: 30000
connect_ipv6_or_ipv4:
Multi-threaded domain to IP address resolution
connecting to IPV4 address...
ipAddress: 213.165.67.108
createSocket:
Setting SO_SNDBUF size
sendBufSize: 262144
Setting SO_RCVBUF size
recvBufSize: 4194304
--createSocket
connect:
myIP: 192.168.178.5
myPort: 3585
socket connect successful.
--connect
--connect_ipv6_or_ipv4
--connectSocket
--connect2
--socket2Connect
Turning on TCP_NODELAY.
socketOptions:
SO_SNDBUF: 262144
SO_RCVBUF: 4194304
--socketOptions
--smtpSocketConnect
smtpGreeting(30079ms):
readSmtpResponse(30079ms):
recvUntilMatch: Socket operation timeout.
nReceived: 0
idleTimeoutMs: 30000
--readSmtpResponse
--smtpGreeting
Failed to get initial SMTP response again.
--smtpConnect
--smtpConnectAndAuthenticate
initSmtp: Socket operation timeout.
Failed.
--VerifySmtpConnection
--ChilkatLog
Maybe someone can help with an idea to solve this problem
Regards
Wolfgang Haese
Hi Guys, I have a renewed attempt running again and unfortunately had no success. Here the log of this experiment:
ChilkatLog:
SendEmail:
DllDate: Aug 26 2015
ChilkatVersion: 9.5.0.52
UnlockPrefix: SOZIALMAILQ
Username: xxxxxxx
Architecture: Little Endian; 32-bit
Language: ActiveX
VerboseLogging: 0
sendEmailInner:
renderToMime:
createEmailForSending:
xSigningAlg: sha1
Auto-generating Message-ID
--createEmailForSending
renderToMime: Elapsed time: 0 millisec
--renderToMime
sendMimeInner:
progressTotal: 711
ensureSmtpSession:
ensureSmtpConnection:
SmtpHost: smtp.web.de
SmtpPort: 587
SmtpUsername: xxx@web.de
SmtpSsl: 0
StartTLS: 1
smtpConnect:
smtpHostname: smtp.web.de
smtpPort: 587
connectionIsReady:
Need new SMTP connection
--connectionIsReady
smtpSocketConnect:
socketOptions:
SO_SNDBUF: 262144
SO_RCVBUF: 4194304
--socketOptions
--smtpSocketConnect
smtpGreeting:
readSmtpResponse:
recvUntilMatch: Socket operation timeout.
idleTimeoutMs: 30000
--readSmtpResponse
--smtpGreeting
Failed to get initial SMTP response..
Will re-try one time...
smtpSocketConnect:
socketOptions:
SO_SNDBUF: 262144
SO_RCVBUF: 4194304
--socketOptions
--smtpSocketConnect
smtpGreeting:
readSmtpResponse:
recvUntilMatch: Socket operation timeout.
idleTimeoutMs: 30000
--readSmtpResponse
--smtpGreeting
Failed to get initial SMTP response again.
--smtpConnect
--ensureSmtpConnection
--ensureSmtpSession
--sendMimeInner
--sendEmailInner
Failed.
--SendEmail
--ChilkatLog
Please help me if anyone has an idea to solve.
Regards
Wolfgang
Hi folks, we have on the system (Windows Server 2003 R2 SP2 x86) just successfully sent a mail with the old dll ChilkatMail2.dll version 9.4.1.0 . The new dll ChilkatAx-9.5.0-win32.dll Version 9.5.0.52 can not send emails on this system.
Regards
Wolfgang
I had no trouble. Something external is blocking it..
ChilkatLog: OpenSmtpConnection: DllDate: Sep 23 2015 ChilkatVersion: 9.5.0.52 UnlockPrefix: nbvfds.CBX0916 Username: CHILKAT13:Matt Architecture: Little Endian; 32-bit Language: Visual C++ 11.0 (32-bit) VerboseLogging: 0 ensureSmtpSession: ensureSmtpConnection: SmtpHost: smtp.web.de SmtpPort: 587 SmtpUsername: SmtpSsl: 0 StartTLS: 1 smtpConnect: smtpHostname: smtp.web.de 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 web.de (mrweb101) Nemesis ESMTP Service ready --readSmtpResponse --smtpGreeting startTLS: Will be using STARTTLS... sendCmdToSmtp: SmtpCmdSent: EHLO CHILKAT13<crlf> --sendCmdToSmtp readSmtpResponse: SmtpCmdResp: 250-web.de Hello CHILKAT13 [50.178.216.117] SmtpCmdResp: 250-SIZE 141557760 SmtpCmdResp: 250-AUTH LOGIN PLAIN SmtpCmdResp: 250 STARTTLS --readSmtpResponse sendCmdToSmtp: SmtpCmdSent: STARTTLS<crlf> --sendCmdToSmtp readSmtpResponse: SmtpCmdResp: 220 OK --readSmtpResponse clientHandshake: ...
If you need, try the latest build at
32-bit Download: http://www.chilkatsoft.com/download/preRelease/ChilkatAx-9.5.0-win32.zip
64-bit Download: http://www.chilkatsoft.com/download/preRelease/ChilkatAx-9.5.0-x64.zip
Thank You Chilkat, for the quick reply, but it would have been better if you had found a reason for this behavior.
Regards
Wolfgang
I have seen this type of behavior when a client machine has an anti-virus with a firewall that blocks outgoing ports from unknown programs. It allows well known email client programs. (i.e. Outlook)
HTH, Tracy
Hi Tracy, many thanks for your response. Unfortunately, we have run our tests with old or new dll without X-Mailer acknowledged. As I said, the test with the old ChilkatMail2 worked with the ChilkatAx ... not. But we will verify these facts.
Regards Wolfgang