login about faq

mailman.VerifyPopLogin and mailman.VerifyPopConnection are OK but mailman.checkmail -1 error

It works for a while then goes error and stays error even in closing links and re opening, after long while or if new mail arrives it goes ok.

What is stopping getting email count? This is with hotmail.com checking every 30 sec to see if mail/new mail Only issue with "pop3.live.com"

Help???

asked Jul 20 '13 at 21:49

wizzy411's gravatar image

wizzy411
1013510

edited Jul 21 '13 at 12:39


You might be checking the mailbox too often, and Hotmail is temporarily blocking the connection. It's impossible to say for sure though without seeing some of your code, and without seeing the contents of the LastErrorText property. As soon as the call fails, log the LastErrorText property and post it here.

link

answered Jul 22 '13 at 11:22

jpbro's gravatar image

jpbro ♦
1.1k2618

I found this at the Mozilla Thunderbird site, that may be of interest. It appears that Hotmail only allows a certain number of logins within a 15 minute period (the actual number may vary). This means that my suspicion that you may be hitting the server too often and are getting blocked sounds plausible:

Exceeded the login limit for a 15 minute period errors

If you login too often (due to checking for new mail) you may get a The STAT command did not succeed. Error getting message number and sizes. Mail server pop3.live.com responded: Exceeded the login limit for a 15 minute period. Reduce the frequency of requests to the POP3 server error message.

The login limit is enforced by the server, and doesn't appear to be documented. This problem occurs with other email clients too, but doesn't occur with any Microsoft email clients. There isn't any known workaround. Reducing how often Thunderbird checks for new mail in Tools -> Account Settings -> Server Settings -> Check for new mail every X minutes" helps

link

answered Jul 22 '13 at 13:18

jpbro's gravatar image

jpbro ♦
1.1k2618

Yup, the problem is that you are checking the account too often (as described in the Mozilla article snippet I posted above). See this part of your LastErrorText:

STAT PopCmdResp: -ERR Exceeded the login limit for a 15 minute period. Reduce the frequency of requests to the POP3 server. POP3 response indicates failure. Failed to get STAT response Failed

There is nothing you can do about this other than check your mailbox less frequently until the problem goes away (try once every 1 minute, then once every 2 minutes, etc... until you stop getting locked out).

link

answered Jul 22 '13 at 14:48

jpbro's gravatar image

jpbro ♦
1.1k2618

If Hotmail only offers POP3, then you are stuck with that I am afraid. You mentioned that Incredimail checks Hotmail every 5 minutes, but your app was checking every 30 seconds. That is a big difference and probably why Incredimail doesn't get temporarily banned while you app does.

As for MS smart phone apps - they must have their own proprietary method of checking mail that doesn't result in getting banned for frequent connections - notice part of the Mozilla article that I posted says:

The login limit is enforced by the server, and doesn't appear to be documented. This problem occurs with other email clients too, but doesn't occur with any Microsoft email clients. Fairly typical MS approach to cripple other peoples offerings in order to make their own look better by comparison.

link

answered Jul 22 '13 at 15:02

jpbro's gravatar image

jpbro ♦
1.1k2618

It's just Hotmail's POP that fails other POP emails work fine

I'm using it to run a small app in systray to check and notify me of new email MS had killed it's Hotmail app and is now in outlook browser which I do not keep open so I want to replace the old notify capability (I could have checks via other email applications but want to build my own little app) Failed after first check today

------------ Code Snippet -------------------

mailman.MailHost = "pop3.live.com"

mailman.PopUsername = gMail01_USER

mailman.PopPassword = gMail01_PW

mailman.MailPort = 995

mailman.ConnectTimeout = 15

mailman.PopSsl = 1

gMail01_Cnt = mailman.checkmail

If gMail01_Cnt = -1 Then

MsgBox "Error checking email"

 exit sub

end if

mailman.Pop3EndSession


alt text

link

answered Jul 22 '13 at 13:00

wizzy411's gravatar image

wizzy411
1013510

edited Jul 22 '13 at 13:02

The LastErrorText is cut off because only the MsgBox command can only display so much text. Try putting it in the clipboard instead, then paste it here:

If gMail01_Cnt = -1 Then
    Clipboard.Clear
    Clipboard.SetText mailman.LastErrorText

    MsgBox "Error checking email"

    exit sub
end if
link

answered Jul 22 '13 at 13:12

jpbro's gravatar image

jpbro ♦
1.1k2618

ChilkatLog: CheckMail: DllDate: Dec 12 2012 UnlockPrefix: CAMPAPMAILQ Username: MIA-PC:Mia Architecture: Little Endian; 32-bit Language: ActiveX VerboseLogging: 0 Pop3Connect: Connecting to POP3 server hostname: pop3.live.com port: 995 ssl: 1 connectTimeoutMs: 15000 heartbeatMs: 0 ConnectTimeoutMs_1: 15000 calling ConnectSocket2 IPV6 enabled connect with NO heartbeat. connectingTo: pop3.live.com resolveHostname1: dnsCacheLookup: pop3.live.com Resolving domain name (IPV4) --resolveHostname1 GetHostByNameHB_ipv4: Elapsed time: 0 millisec myIP_1: 192.168.0.11 myPort_1: 53085 connect successful (1) clientHelloMajorMinorVersion: 3.1 buildClientHello: majorVersion: 3 minorVersion: 1 numRandomBytes: 32 sessionIdSize: 0 numCipherSuites: 10 numCompressionMethods: 1 --buildClientHello readIncomingTls_serverHello: processTlsRecord: processHandshake: handshakeMessageType: ServerHello handshakeMessageLen: 0x46 processHandshakeMessage: MessageType: ServerHello Processing ServerHello... ServerHello: MajorVersion: 3 MinorVersion: 1 SessionIdLen: 32 CipherSuite: RSA_WITH_RC4_128_MD5 CipherSuite: 00,04 CompressionMethod: 0 Queueing ServerHello message. ServerHello is OK. --ServerHello --processHandshakeMessage handshakeMessageType: Certificate handshakeMessageLen: 0x98e processHandshakeMessage: MessageType: Certificate ProcessCertificates: Certificate: derSize: 1313 certSubjectCN: pop3.live.com certSerial: 1121FB2A7C6A4A08340AD3DAC161B704DD21 certIssuerCN: GlobalSign Organization Validation CA - G2 --Certificate Certificate: derSize: 1124 certSubjectCN: GlobalSign Organization Validation CA - G2 certSerial: 0400000000012F4EE1450C certIssuerCN: GlobalSign Root CA --Certificate NumCertificates: 2 Queueing Certificates message... --ProcessCertificates --processHandshakeMessage handshakeMessageType: ServerHelloDone handshakeMessageLen: 0x0 processHandshakeMessage: MessageType: ServerHelloDone Queueing HelloDone message. --processHandshakeMessage --processHandshake --processTlsRecord --readIncomingTls_serverHello HandshakeQueue: MessageType: ServerHello MessageType: Certificate MessageType: ServerHelloDone --HandshakeQueue Dequeued ServerHello message. Dequeued Certificate message. DequeuedMessageType: ServerHelloDone OK to ServerHelloDone! No client certificate required by the server. Encrypted pre-master secret with server certificate RSA public key is OK. Sending ClientKeyExchange... Sent ClientKeyExchange message. Sending ChangeCipherSpec... Sent ChangeCipherSpec message. Derived keys. Installed new outgoing security params. Sending FINISHED message.. algorithm: arc4 keyLength: 128 Sent FINISHED message.. readIncomingTls_changeCipherSpec2: processTlsRecord: processChangeCipherSpec: ccsProtocolType: 1 --processChangeCipherSpec --processTlsRecord --readIncomingTls_changeCipherSpec2 readIncomingTls_handshakeFinished2: processTlsRecord: processHandshake: handshakeMessageType: HandshakeFinished handshakeMessageLen: 0xc processHandshakeMessage: MessageType: HandshakeFinished FinishedMsgLen: 12 Queueing Finished message. --processHandshakeMessage --processHandshake --processTlsRecord --readIncomingTls_handshakeFinished2 Dequeue the FINISHED message... Dequeued Finished message. Handshake completed successfully. Secure Channel Established. Connected to POP3 server Turning on TCP_NODELAY. socketOptions: SO_SNDBUF: 8192 SO_RCVBUF: 8192 TCP_NODELAY: 8193 --socketOptions PopCmdResp: +OK BLU0-POP303 POP3 server ready greeting: +OK BLU0-POP303 POP3 server ready ConnectionType: SSL/TLS --Pop3Connect Pop3Authenticate: username: sherwood411@hotmail.com popSPA: 0 PopCmdSent: USER sherwood411@hotmail.com PopCmdResp: +OK password required PopCmdSent: PASS **** PopCmdResp: +OK POP3 authentication success --Pop3Authenticate PopCmdSent: STAT PopCmdResp: -ERR Exceeded the login limit for a 15 minute period. Reduce the frequency of requests to the POP3 server. POP3 response indicates failure. Failed to get STAT response Failed. --CheckMail --ChilkatLog

link

answered Jul 22 '13 at 14:44

wizzy411's gravatar image

wizzy411
1013510

Wonder how non MS smart phone apps can immediately BING when new message on my Hotmail account? Incredimail checks my hotmail every 5 min and never flagged issue.

is there another way to check MS Hotmail for new mail - it's not imap :( which would be nice - MS hosts my email on it's servers

Any alternative options for checking new emails arriving and/or email count

Thanks!!

link

answered Jul 22 '13 at 14:57

wizzy411's gravatar image

wizzy411
1013510

Thanks for your help, most appreciated

and grumbles to Microsoft again. lol

link

answered Jul 22 '13 at 15:05

wizzy411's gravatar image

wizzy411
1013510

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:

×62
×11
×7
×2
×1

Asked: Jul 20 '13 at 21:49

Seen: 6,245 times

Last updated: Jul 22 '13 at 15:05

powered by OSQA