Mike Yeager
Mike Yeager

Reputation: 161

pop3_getResponseN2: Socket connection closed

After calling TransferMail() a second time the result is null. LastErrorText is

ChilkatLog:   TransferMail:
    DllDate: Jun 24 2022
    ChilkatVersion: 9.5.0.91
    UnlockPrefix: NTELES.CB1022023
    Architecture: Little Endian; 64-bit
    Language: .NET 4.8 / x64
    VerboseLogging: 0
    Component successfully unlocked using purchased unlock code.
    PopCmdSent: STAT
    pop3_getResponseN2: Socket connection closed.
    Failed to received remainder of POP3 multi-line response.
    matchStr: 

    Failed to get STAT response   --TransferMail
--ChilkatLog

I recently updated from v7.5 to 9.5 which is when this issues started to appear. Was there a breaking change? What is the best way to correct this? Should the MailMan object be tossed away and re-created for every call to check for email?

Upvotes: 0

Views: 253

Answers (1)

Chilkat Software
Chilkat Software

Reputation: 1624

Examine the contents of the mailman.Pop3SessionLog property prior to calling TransferMail. Maybe something happened beforehand that caused the problem.

Also, when debugging it's best to turn on VerboseLogging. Set mailman.VerboseLogging = true

Upvotes: 0

Related Questions