Computer Science, asked by abhin2377, 1 year ago

Write program in java on e-mall

Answers

Answered by sumit9835
0

Send email using Java Program

Sending Email is a basic requirement regardless of which platform you are working on like JAVA, JavaEE, Python etc. Sending Email may be required to send error alerts or confirmation of registration or signup. Java provides the facility to send emails by writing java programs.

To send emails using Java, you need three things:

JavaMail API

Java Activation Framework (JAF)

Your SMTP server details

You may download the latest version of both JavaMail API and JAF from the official website of Java. After successfully downloading these two, extract them. Add mail.jar , smtp.jar and activation.jar file in your classpath to be eligible to send emails.

Similar questions