Hello, friends In this tutorial We’re going to learn how we can send an e-mail with PHP using Gmail SMTP server. SMTP is also known as Simple Mail Transfer Protocol. SMTP is an internet standard for electronic mail. Each mail servers and other mail transfer agencies use SMTP to send and receive emails. Now we take a look at the PHPMailer library and we’re going to use. You can take this library as an option to mail() function in PHP.