Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

what is this exception ??

843830Sep 20 2001 — edited Dec 23 2001

I am using Apache james mail server 1.2.1 and when i try to run a Client it gives the following exception.
I am using the SmtpClient class from sun.net.smtp package

sun.net.smtp.SmtpProtocolException: 501 Syntax error in parameters or arguments

If I change the server name and give the name of my companies mail server..it works fine ..but it doesnt seem to take the apache mail server running in my machine..if anybody can help me ..please do so
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 20 2002
Added on Sep 20 2001
4 comments
155 views