Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IDLE Not working #36

Open
ArmyDude opened this issue Feb 24, 2012 · 2 comments
Open

IDLE Not working #36

ArmyDude opened this issue Feb 24, 2012 · 2 comments

Comments

@ArmyDude
Copy link

I've attempted to use your current cs files and also swapped them out with NadavK 's files without luck. NadavK's files worked very intermittently. Initial connection, I would send 2 or 3 messages to the specific server that the software is looking for and 1 or 2 would actually trigger the NewMessage event. I was also getting errors when trying to Disconnect. Is this an issue that I am only seeing, or am I missing something. Here's my implementation in Vb.Net. I have the C# project referenced with my VB.Net application.. I've also tried this with SSL on port 993. Connects ok either way. Is NadavK's code integrated with the latest ImapClient.cs and other files?

Public WithEvents AENetIMAPClient As Global.AE.Net.Mail.ImapClient
Public Host As String = "XXXX"
Public User As String = "XXXX"
Public Pass As String = "XXX"
Public Sub Start()
Try

        AENetIMAPClient = New Global.AE.Net.Mail.ImapClient(Host, User, Pass, Global.AE.Net.Mail.ImapClient.AuthMethods.Login, 143, False)


        AddHandler AENetIMAPClient.NewMessage, AddressOf AEIMAPClient_New

Catch ex As Exception
MsgBox(ex.Message.ToString(), MsgBoxStyle.Critical, "Start Error")
End Try
End Sub

@NadavK
Copy link

NadavK commented Nov 21, 2012

Like you, I have had several issues with Idle/Imap that I was not able to fix:

  1. It only fires events for the first few new emails
  2. I am not able to reconnect after loosing internet connectivity.

Both these issues are fixed in smiley22's mail project: https://github.com/smiley22/S22.Imap
PS: I am not affiliated with S22 in any way, I just want an IMAP solution that works.

@graysuit
Copy link

Like you, I have had several issues with Idle/Imap that I was not able to fix:

1. It only fires events for the first few new emails

2. I am not able to reconnect after loosing internet connectivity.

Both these issues are fixed in smiley22's mail project: https://github.com/smiley22/S22.Imap PS: I am not affiliated with S22 in any way, I just want an IMAP solution that works.

Helps, even after 10+ years!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@NadavK @ArmyDude @graysuit and others