We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Pop3 connection

Hi,

I'm trying to get a simple Pop3 connection to work.

It works fine through Outlook2003 but fails when I try to connect through the Aspose.Net library.

All I get is an exception:

Login error-ERR Logon Failure

the same credentials, host name, username, port and password work when connecting through Outlook.

Its probably something simple......

thanks

Perry


This message was posted using Aspose.Live 2 Forum

Hi Perry,


Thanks for considering Aspose.

Could you please try to give only the username part (without @ and domain) in the constructor as follows and check if it works?

Pop3Client client = new Pop3Client(“host”, 110, “username”, “pwd”);

This problem was resolved.

I was attempting to connect to the 'wrong' MS-Exchange server for this account. Once we got the right server name things were fine for both out Pop3 and IMap connection.