dcsimg
Problem In JavaMail
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Saturday, June 23, 2001 01:28 AM

I have installed JavaMail and Java bean activation Framework. I have MS outlook to receive the mail. My CLASSPATH setting are as follows SET PATH=c:jdk1.2.2 in SET CLASSPATH=c:javamailmail.jar;c:jafactivation.jar when I compile the msgsend.java file and issue the following command C:javamaildemo>java msgsend -o basharatq@aol.com -M SMTP.aol.com i4u74@hotmail .com Subject:Hi Welocome ^Z Then I get the following error message Exception in thread "main" java.lang.NoClassDefFoundError: msgsend Also my ISP is AOL and out   More>>

I have installed JavaMail and
Java bean activation Framework. I have MS outlook to
receive the mail.


My CLASSPATH setting are as follows


SET PATH=c:jdk1.2.2 in

SET CLASSPATH=c:javamailmail.jar;c:jafactivation.jar



when I compile the msgsend.java file and issue the following command


C:javamaildemo>java msgsend -o basharatq@aol.com -M SMTP.aol.com i4u74@hotmail
.com Subject:Hi Welocome ^Z


Then I get the following error message

Exception in thread "main" java.lang.NoClassDefFoundError: msgsend



Also my ISP is AOL and outlook express
is also not configured

because when I try to send mail through
outlook then I also have some error message. like


The connection to the server has failed. Account: 'http', Server: 'aol.com', Protocol: SMTP, Port: 25, Secure(SSL): No, Socket Error: 10060, Error Number: 0x800CCC0E


And the second error is

The host 'http' could not be found. Please verify that you have entered the server name correctly. Account: 'http', Server: 'http', Protocol: POP3, Port: 110, Secure(SSL): No, Socket Error: 11001, Error Number: 0x800CCC0D



please help me what shoul I do

Thank you very much


David müller

   <<Less

Re: Problem In JavaMail

Posted By:   John_Zukowski  
Posted On:   Saturday, June 23, 2001 06:10 AM

Setting of CLASSPATH is already covered in the Java Language FAQ.


Try a real SMTP server.

About | Sitemap | Contact