snorek
  • snorek
  • 52.25% (Neutral)
  • Newbie Topic Starter
14 years ago
Hi,

When connecting to the server Oracle OCS through IMAP4
I get the error: Missing required argument to LOGIN
Server, login and password are correct.
ivan
  • ivan
  • 100% (Exalted)
  • Administration
14 years ago

Hi,

When connecting to the server Oracle OCS through IMAP4
I get the error: Missing required argument to LOGIN
Server, login and password are correct.

snorek wrote:



Please generate a log file with LogFileName property and paste the log content here.
Please hide the password in the log content
snorek
  • snorek
  • 52.25% (Neutral)
  • Newbie Topic Starter
14 years ago
Resolving server ...
Server: ServerURI
Port: 143
AuthType: AuthLogin
User: UserName
Password: UserPasswd
SSLConnection: False
SSLType: ConnectSSLAuto
Protocol: Imap4
SocksProxyServer:
SocksProxyPort: 1080
SocksProxyUser:
SocksProxyPassword:
ProxyProtocol: Socks5

Create socket InterNetwork,Stream,Tcp ...
Start to connecting ...
serverIP, 143
Connected

* OK server ready. Unauthorized Access Prohibited.
A0002 LOGIN UserName UserPasswd
A0002 BAD Missing required argument to LOGIN
ivan
  • ivan
  • 100% (Exalted)
  • Administration
14 years ago

Resolving server ...
Server: ServerURI
Port: 143
AuthType: AuthLogin
User: UserName
Password: UserPasswd
SSLConnection: False
SSLType: ConnectSSLAuto
Protocol: Imap4
SocksProxyServer:
SocksProxyPort: 1080
SocksProxyUser:
SocksProxyPassword:
ProxyProtocol: Socks5

Create socket InterNetwork,Stream,Tcp ...
Start to connecting ...
serverIP, 143
Connected

* OK server ready. Unauthorized Access Prohibited.
A0002 LOGIN UserName UserPasswd
A0002 BAD Missing required argument to LOGIN

snorek wrote:



It seems that your IMAP4 server doesn't support the standard Login.
Please try to use

oServer.AuthType = ServerAuthType.AuthCRAM5;
oClient.Connect( oServer );

If it still doesn't work, please kindly send your server address, user/password to support@emailarchitect.net so that I can have a remote test to see what method your server supports.



snorek
  • snorek
  • 52.25% (Neutral)
  • Newbie Topic Starter
14 years ago
Hi,

Problem solved:
If the password contains special characters like *()
, the password must be given in "".

MailServer mailServer = new MailServer("ServerName", "UserName", ""pa$$word"", ServerProtocol.Imap4);

not(sic!)

MailServer mailServer = new MailServer("ServerName", "UserName", "pa$$word", ServerProtocol.Imap4);

The Problem appeared only with OCS server.

Thanks for all replies :)

--
Regards
snorek

EXPLORE TUTORIALS

© All Rights Reserved, AIFEI Software Limited & AdminSystem Software Limited.