Search The ForumSearch   RegisterRegister  LoginLogin

MailBee Objects

 AfterLogic Forum : MailBee Objects
Subject Topic: Problem with Exchange 2003 Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
schase02
Newbie
Newbie
Avatar

Joined: 15 October 2004
Location: United States
Online Status: Offline
Posts: 18
Posted: 05 March 2009 at 8:21pm | IP Logged Quote schase02

hello,

We recently moved to Exchange 2003 from another third party email server where my code for using Mailbee Objects worked fantastically.

Set objPOP3 = Server.CreateObject("MailBee.POP3")
objPOP3.LicenseKey = "my license"
objPop3.ServerName = strEmailServer
objPop3.AuthMethod = 4 ' using NTLM authentication
objPop3.UserName = request.cookies("a_cookie") ' Username of current windows user
objPop3.Password = request.cookies("a_cookie2")' Password of current windows user
' Connect to POP3 server
If objPOP3.Connect Then

... mailbox listing code.

Else
' Display error information
Response.Write "Error #" & objPOP3.ErrCode & "<br>!!<BR>"
Response.Write "Server response: " & objPOP3.ServerResponse
response.end
End If    

Which gives me this message.

Error #211
!!
Server response: +OK Microsoft Exchange Server 2003 POP3 server version 6.5.7638.1 (servername here) ready.   

and that's it, no mailbox listing, no nothing other than that. and if I put objPOP3.Connect OR objPOP3.ErrCode="211" then it just displays nothing. If 211 = status ready than shouldn't it just ignore that and continue?

If I try various websites to check the POP3 connector like mail2web - I get a mailbox listing just fine.

Thank you      
Back to Top View schase02's Profile Search for other posts by schase02
 
Andrew
AfterLogic Support
AfterLogic Support


Joined: 28 April 2006
Location: United States
Online Status: Offline
Posts: 1189
Posted: 06 March 2009 at 3:59am | IP Logged Quote Andrew

Error 211 means "Selected authentication method is not supported by the server". Try changing objPop3.AuthMethod = 4 to 1 or even 0.

Best regards,
Andrew
Back to Top View Andrew's Profile Search for other posts by Andrew
 
schase02
Newbie
Newbie
Avatar

Joined: 15 October 2004
Location: United States
Online Status: Offline
Posts: 18
Posted: 11 June 2009 at 4:30am | IP Logged Quote schase02

Hey Andrew,

well the Admin switched up servers on me again (twice) now it's on the same LAN as the exchange server.

I'm getting Error 6 with no server response.

using NTLM 0 or 1 gives the same result. I'm using exchange login name and verified the password with a 3rd party POP and both check out.

How should I go about tracking this down? I can send (with the same username) no problem.

Many thanks
Back to Top View schase02's Profile Search for other posts by schase02
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 11 June 2009 at 6:42am | IP Logged Quote Alex

With Exchange, login required for POP3 may be different than for SMTP. For instance, login@domain or domain\login or just login. It depends.

Third-party POP may automatically check all methods (i.e. login@domain, domain\login, etc) and thus succeeds in the end. If possible, examine third-party's POP log to find out which username form succeeds ("USER login" command in POP3 logs).

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 
schase02
Newbie
Newbie
Avatar

Joined: 15 October 2004
Location: United States
Online Status: Offline
Posts: 18
Posted: 12 June 2009 at 1:15am | IP Logged Quote schase02

hrm, diff issue apparently with the exchange server itself.

looks like when I was using a 3rd party checker the POP3 was working but has sine done south on me. IMAP connects okay.

which I suppose I could use but we just retrieve and delete the messages, not exactly what IMAP was meant for
Back to Top View schase02's Profile Search for other posts by schase02
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide