1. Chapter 2 Sending form details via emails 2. PHP Sending E-mails PHP allows you to send e-mails directly from a script. The PHP mail() Function The PHP mail() function…