How do you use authentication with gmail for a PHP contact form?
问题 This is the code that i have working; however i want to incorporate a way to have an smtp authentication using my gmail account but I can't figure it out...help? <?php if(isset($_POST['email'])) { $email_to = "jfk003@lvc.edu"; $email_subject = "Website Inquire"; function died($error) { echo "We are very sorry, but there were error(s) found with the form you submitted. "; echo "These errors appear below.<br /><br />"; echo $error."<br /><br />"; echo "Please go back and fix these errors.<br />