Sending Emails in PHP
During the 80′s, people still communicate through snail mails until electronic mails came in. Most professionals in today’s time spend 50% of their working time using e-mail and its use is no doubt increasing due to globalization.
Sending emails procedure varies. One of them is sending in PHP. Mails in PHP are easily sent with the help of library function ‘mail‘.
This function takes four parameters to send E-mails from a PHP page and returns ‘true‘ upon successful delivery of Email. The parameters of this function are as follows:
- Recipient
- Subject
- Message
- Headers (Sender E-mail address)
