iam trying to send mail using smtp.mail.yahoo.com but it is giving the following error
Exception in
thread "main" javax.mail.SendFailedException: Sending failed;
nested exception is:
javax.mail.MessagingException: 530 authentication required - for help go
to
http://help.yahoo.com/help/us/mail/pop/pop-11.html at javax.mail.Transport.send0(Transport.java:219)
at javax.mail.Transport.send(Transport.java:81)
at testsmtp1.postMail(testsmtp.java:42)
at testsmtp.main(testsmtp.java:51)
Press any key to continue...
we are able to send mail through local mail server.but getting problem when trying to send through yahoo mail
so if i want to send mail using smtp.mail.yahoo.com host how can i send?
whether it is possible or not? if so how? or we can send only through local mail server?
thanking