I am trying the JavaMail tutorial at
http://java.sun.com/developer/onlineTraining/JavaMail/contents.html
I compiled the msgsend.java file and run the file this way:
C:\javamail-1_3_1-upd\javamail-1.3.1\demo>java msgsend -o jenc-c@MyCompanyName.org -M 131.167.241.117.milky-way.smtp.MyCompanyName.org jiapei_jen@yahoo.com
where 131.167.241.117 is my machine name.
In the DOS Window, it shows To: jiapei_jen@yahoo.com
and Subject: is prompted. I typed in
It is a test <enter>
I want to see if it is working <Ctrl-Z> <enter>
and the cursor keeps blinking in the DOS window. Does it mean that I do not have the host name (IP address of the SMTP mail server) right? or it is due to some other problems?
[ September 17, 2004: Message edited by: JiaPei Jen ]
http://java.sun.com/developer/onlineTraining/JavaMail/contents.html
I compiled the msgsend.java file and run the file this way:
C:\javamail-1_3_1-upd\javamail-1.3.1\demo>java msgsend -o jenc-c@MyCompanyName.org -M 131.167.241.117.milky-way.smtp.MyCompanyName.org jiapei_jen@yahoo.com
where 131.167.241.117 is my machine name.
In the DOS Window, it shows To: jiapei_jen@yahoo.com
and Subject: is prompted. I typed in
It is a test <enter>
I want to see if it is working <Ctrl-Z> <enter>
and the cursor keeps blinking in the DOS window. Does it mean that I do not have the host name (IP address of the SMTP mail server) right? or it is due to some other problems?
[ September 17, 2004: Message edited by: JiaPei Jen ]