Hi guys,
Just trying out the javamail api for fun, am working with the program below:
And I am getting an exception which says:
Exception in
thread "main" com.sun.mail.smtp.SMTPSendFailedException: 530 authentication required - for help go to
http://help.yahoo.com/help/us/mail/pop/pop-11.html at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1388)
at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:959)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:583)
at set1.SimpleMail.main(SimpleMail.java:26)
What am I missing here? Any help will be really appreciated.
Thanks.