Sending mail using java mail API

Java Mail API is a platform and protocol independent framework to send mail. It supports JDK 1.4 and above. It supports IMAP, POP3 and SMTP protocol. To use Java Mail API we have to include javax.mail.jar in your class library.

for this java mail api should be present on your class path.

How to Send Email using PHP mail() Function

Send Email using PHP mail() Function is one of the important feature of PHP. mail() is used to send email from one email address to another. Send email by PHP is very easy and without cost. PHP gives mail() function to send email.mail() function Syntax:

Output:Done! Benefits of email in web application 1. Customer … Read more