Sending email without authentication
843830Jun 20 2007 — edited Dec 18 2007I have a form where the user fills in the to and from email addresses. Then clicks on the send button. Now I want to send the email automatically without password authentication. JavaMail API I used, but it is giving me AuthenticationFailed Exception. How to solve this problem without authentication.
THe form details are passed to a javabean through a servlet. The javabean then uses the JavaMail API to send the mail. This is what I have done.