PHPMailer function provides a set of class objects you can ue to send an email message from your web site. To send email, you must have an account on
SMTP (Simple Mail Transfer Protocal) mail server, such as gmail.com.
PHPMailer on your localost Server.
To send email from your
localhost server via a Gmail account, download the latest version of PHPMailer from GitHub (source code (zip)). Extract the
PHPMailer.zip file to your
Then you shuld try sending email. First, copy
www\PHPMailer\examples\gmail.php. Then, edit this gmail.php file and change these values to your gmail account information:
Sending Email with PHPMailer
\www/PHPMailer\examples\ for various examples of sending email using PHPMailer.
Task - Send an Email Using PHP
$_POST array) in the body of the message.
You will modify the PHP function for this item in your index.php page to add a link to your web site files that allows me to view your work.
You *MUST* use the W3C Unicorn Validator to validate your HTML5/CSS3 code.