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!

First Java Mail Program...some problems

843830Mar 30 2005 — edited Apr 1 2005
Hi Friends,
I am new to JavaMail and i am trying to follow the following exercise:
http://java.sun.com/developer/onlineTraining/JavaMail/exercises/MailSetup/

I am using rogers high speed internet connection,so i enter the following:
D:\JAVAWORLD\javamail1.3.2-src\src\share\classes\demo>java msgsend -o abc@rediffmail.com -M smtp.broadband.rogers.com xyz@rediffmail.com
To: xyz@rediffmail.com
Subject: hi
Welcome
^Z
I get the following error:
com.sun.mail.smtp.SMTPSendFailedException: 530 authentication required - for hel
p go to http://help.yahoo.com/help/us/mail/pop/pop-11.html

        at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1
275)
        at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:895)
        at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:524)
        at javax.mail.Transport.send0(Transport.java:151)
        at javax.mail.Transport.send(Transport.java:80)
        at msgsend.main(msgsend.java:165)
When i went to that yahoo link for help,there are no settings for command line.Please tell me how to accomplish this..friends
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 29 2005
Added on Mar 30 2005
3 comments
140 views