hi,
i need to read emails from an email id with net4 mail server.
am using s22.dll to read and send mails.it worked perfect with gmail and yahoo acccounts.
But now gets error "The handshake failed due to an unexpected packet format." when i change host name for net4 mail server.
Any help..?
What I have tried:
_server = "smtp.net4india.com";
_user = "whstockreports@gesaindia.com";
_password = "123";
using (ImapClient Client = new ImapClient(_server, 25,
_user, _password, AuthMethod.Login, true))
{
IEnumerable<uint> uids = Client.Search(SearchCondition.Unseen().And(
SearchCondition.Subject("New Edi HPL")));
}