I just founded that some servers needed to use the ID command to marked the flag of the client.if dont use the ID command the server wouldnt work.
so would u add the method to send the ID command ?
and by the way.I just noticed that there are so many commands for the imap.for example the CAPABILITY .