login about faq

My program worked fine for an half year, but since last week the automated mail sending fails (i changed nothing). My customer uses web.de (a german email provider) and i think they (web.de) changed something. web.de uses for smtp, StartTLS over port 587.

Here is the lastErrorText:

SendEmail:

DllDate: Mar  6 2015
ChilkatVersion: 9.5.0.48
UnlockPrefix: XXXXXXXXXXX
Username: WIN7-DEVELOPER:heribert
Architecture: Little Endian; 32-bit
Language: Visual C++ 6.0
VerboseLogging: 0
sendEmailInner:
    getAllRecipientAddressesA:
        (leaveContext)
    renderToMime:
        createEmailForSending:
            xSigningAlg: sha1
            Auto-generating Message-ID
            clone2:
                assembleMimeBody:
                    parseEmailAddressList:
                        (leaveContext)
                    emitAsMimeField:
                        (leaveContext)
                    parseEmailAddressList:
                        (leaveContext)
                    emitAsMimeField:
                        (leaveContext)
                    parseEmailAddressList:
                        (leaveContext)
                    emitAsMimeField:
                        (leaveContext)
                    getEncodedBody:
                        (leaveContext)
                    (leaveContext)
                createFromMimeText:
                    loadMimeComplete:
                        loadMimeHeaderText:
                            (leaveContext)
                        parseMimeBody:
                            setMimeBodyByEncoding:
                                (leaveContext)
                            (leaveContext)
                        (leaveContext)
                    loadFromMimeTextProcessing:
                        (leaveContext)
                    createFromMimeObject:
                        parseEmailAddressList:
                            (leaveContext)
                        parseEmailAddressList:
                            (leaveContext)
                        parseEmailAddressList:
                            (leaveContext)
                        emitAsMimeField:
                            (leaveContext)
                        parseEmailAddressList:
                            (leaveContext)
                        emitAsMimeField:
                            (leaveContext)
                        parseEmailAddressList:
                            (leaveContext)
                        emitAsMimeField:
                            (leaveContext)
                        loadMimeHeaderText:
                            (leaveContext)
                        (leaveContext)
                    (leaveContext)
                (leaveContext)
            (leaveContext)
        assembleMimeBody:
            parseEmailAddressList:
                (leaveContext)
            emitAsMimeField:
                (leaveContext)
            parseEmailAddressList:
                (leaveContext)
            emitAsMimeField:
                (leaveContext)
            getEncodedBody:
                (leaveContext)
            (leaveContext)
        renderToMime: Elapsed time: 47 millisec
        (leaveContext)
    sendMimeInner:
        ensureSmtpSession:
            ensureSmtpConnection:
                SmtpHost: smtp.web.de
                SmtpPort: 587
                SmtpUsername: xxxx@web.de
                SmtpSsl: 0
                StartTLS: 1
                smtpConnect:
                    smtpHostname: smtp.web.de
                    smtpPort: 587
                    connectionIsReady:
                        Need new SMTP connection
                        (leaveContext)
                    smtpSocketConnect:
                        socket2Connect:
                            connect2:
                                connectSocket:
                                    connect_ipv6_or_ipv4:
                                        resolveHostname6:
                                            getAddressInfo:
                                                (leaveContext)
                                            (leaveContext)
                                        (leaveContext)
                                    (leaveContext)
                                (leaveContext)
                            (leaveContext)
                        socketOptions:
                            SO_SNDBUF: 262144
                            SO_RCVBUF: 4194304
                            TCP_NODELAY: 1
                            (leaveContext)
                        (leaveContext)
                    smtpGreeting:
                        readSmtpResponse:
                            SmtpCmdResp: 220 web.de (mrweb103) Nemesis ESMTP Service ready
                            (leaveContext)
                        (leaveContext)
                    startTLS:
                        Will be using STARTTLS...
                        sendCmdToSmtp:
                            SmtpCmdSent: EHLO WIN7-DEVELOPER<CRLF>
                            (leaveContext)
                        readSmtpResponse:
                            SmtpCmdResp: 250-web.de Hello WIN7-DEVELOPER [79.208.92.99]
                            SmtpCmdResp: 250-SIZE 141557760
                            SmtpCmdResp: 250-AUTH LOGIN PLAIN
                            SmtpCmdResp: 250 STARTTLS
                            (leaveContext)
                        sendCmdToSmtp:
                            SmtpCmdSent: STARTTLS<CRLF>
                            (leaveContext)
                        readSmtpResponse:
                            SmtpCmdResp: 220 OK
                            (leaveContext)
                        terminateConnection:
                            (leaveContext)
                        clientHandshake:
                            cacheClientCerts:
                                (leaveContext)
                            clientHandshake2:
                                sendClientHello:
                                    TlsClientHello_buildMessage:
                                        (leaveContext)
                                    sendHandshakeMessages:
                                        (leaveContext)
                                    (leaveContext)
                                readHandshakeMessages:
                                    processHandshakeRecord:
                                        processHandshakeMessage:
                                            processServerHello:
                                                (leaveContext)
                                            (leaveContext)
                                        (leaveContext)
                                    (leaveContext)
                                readHandshakeMessages:
                                    processHandshakeRecord:
                                        processHandshakeMessage:
                                            processIncomingCertificates:
                                                loadX509DerAlt:
                                                    der_to_xml:
                                                        (leaveContext)
                                                    (leaveContext)
                                                loadX509DerAlt:
                                                    der_to_xml:
                                                        (leaveContext)
                                                    (leaveContext)
                                                loadX509DerAlt:
                                                    der_to_xml:
                                                        (leaveContext)
                                                    (leaveContext)
                                                (leaveContext)
                                            (leaveContext)
                                        (leaveContext)
                                    (leaveContext)
                                handleServerCert:
                                    readHandshakeMessages:
                                        processHandshakeRecord:
                                            processHandshakeMessage:
                                                (leaveContext)
                                            (leaveContext)
                                        (leaveContext)
                                    (leaveContext)
                                buildClientKeyExchange:
                                    buildClientKeyExchangeRsa:
                                        getServerCertPublicKey:
                                            x509_getPublicKey:
                                                (leaveContext)
                                            (leaveContext)
                                        RsaPubKeyDerToKey:
                                            DecodeToAsn:
                                                (leaveContext)
                                            (leaveContext)
                                        (leaveContext)
                                    (leaveContext)
                                sendClientKeyExchange:
                                    sendHandshakeMessages:
                                        (leaveContext)
                                    (leaveContext)
                                sendChangeCipherSpec:
                                    (leaveContext)
                                derive_keys:
                                    (leaveContext)
                                sendHandshakeMessages:
                                    (leaveContext)
                                readHandshakeMessages:
                                    (leaveContext)
                                readHandshakeMessages:
                                    processHandshakeRecord:
                                        processHandshakeMessage:
                                            processFinished:
                                                (leaveContext)
                                            (leaveContext)
                                        (leaveContext)
                                    (leaveContext)
                                saveSecureRenegInfo:
                                    (leaveContext)
                                (leaveContext)
                            (leaveContext)
                        checkServerCert:
                            (leaveContext)
                        checkServerCertRequirement:
                            (leaveContext)
                        TLS connection established.
                        (leaveContext)
                    ehloCommand:
                        sendCmdToSmtp:
                            SmtpCmdSent: EHLO WIN7-DEVELOPER<CRLF>
                            (leaveContext)
                        readSmtpResponse:
                            SmtpCmdResp: 250-web.de Hello WIN7-DEVELOPER [79.208.92.99]
                            SmtpCmdResp: 250-SIZE 141557760
                            SmtpCmdResp: 250 AUTH LOGIN PLAIN
                            (leaveContext)
                        (leaveContext)
                    (leaveContext)
                (leaveContext)
            ensureSmtpAuthenticated:
                smtpAuthenticate:
                    smtp_host: smtp.web.de
                    smtp_port: 587
                    smtp_user: xxxxx@web.de
                    smtpAuthenticate:
                        login_method: LOGIN
                        auth_login:
                            smtpSendGet2:
                                sendCmdToSmtp:
                                    SmtpCmdSent: AUTH LOGIN<CRLF>
                                    (leaveContext)
                                readSmtpResponse:
                                    SmtpCmdResp: 334 VXNlcm5hbWU6
                                    (leaveContext)
                                (leaveContext)
                            sendCmdToSmtp:
                                SmtpCmdSent: a2llc2RvcmZAd2ViLmRl<CRLF>
                                (leaveContext)
                            readSmtpResponse:
                                SmtpCmdResp: 334 UGFzc3dvcmQ6
                                (leaveContext)
                            sendCmdToSmtp:
                                SmtpCmdSent: {PasswordOrCredentials}
                                (leaveContext)
                            readSmtpResponse:
                                SmtpCmdResp: 535 Authentication credentials invalid
                                (leaveContext)
                            SMTP authentication failed after sending password.
                            Check your username/password or your SMTP server's auth settings
                            (leaveContext)
                        Failed to login using LOGIN method
                        (leaveContext)
                    ConnectionType: SSL/TLS
                    (leaveContext)
                (leaveContext)
            (leaveContext)
        (leaveContext)
    (leaveContext)
Failed.
(leaveContext)

Any suggestions? Thanks for any Help!

asked Apr 30 '15 at 10:47

derhexer's gravatar image

derhexer
162

edited Apr 30 '15 at 10:56


I solved it now. The error was on the web.de-mail account at web.de. They configured their email-server new, so you have to activate "IMAP- and POP3 for external access" manually at the web.de e-mail-site. After activating, everything works fine (all email-clients (e.g. Thunderbird) and chilkat-library also).

BTW. My software works with any other server correct and now with web.de too (again).

link

answered May 01 '15 at 11:44

derhexer's gravatar image

derhexer
162

edited May 01 '15 at 11:46

it seem on user/password.. or smtp server authenthication..

SMTP authentication failed after sending password. Check your username/password or your SMTP server's auth

check your account..

link

answered May 01 '15 at 10:15

eomer's gravatar image

eomer
1

Hi, the problem is not the chilkat library, its the web.de server. I've tested three different email clients and they all cannot connect to the server. I got always the message "User/password is wrong".

But the user/password is correct. I checked this first (i checked more the once...). The failure is the same on every other account there (i' have tested three different accounts). They worked since months fine without any problem but suddenly not.

So this is no chilkat problem...

Thx for the help!!

link

answered May 01 '15 at 11:23

derhexer's gravatar image

derhexer
162

when you say "i checked account" , by wich way.?? does you tested connection by other way with this account, verified with the deutch server??

one possibility is that the server encounted problem or misconfiguration..

great part of my works is to make changes or tailoring due to stupidity or incompetence from "admins".. did your code works with other server with same requirements ?

don't exclude the fact that an "admin" did stupidity... and erased your account, or other thing..

link

answered May 01 '15 at 11:37

eomer's gravatar image

eomer
1

SOLVED

The problem was not at the chilkat-library or any other client configuration. At web.de they switched off the POP3 and IMAP for external access. Every web.de user have to active this "feature" now manually at the web-site of the web.de account. =)

So thx a lot for ur help!

link

answered May 04 '15 at 02:21

derhexer's gravatar image

derhexer
162

edited May 04 '15 at 02:22

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×12

Asked: Apr 30 '15 at 10:47

Seen: 1,230 times

Last updated: May 04 '15 at 02:22

powered by OSQA