Please consider supporting my channel:
☕ https://ko-fi.com/davehollingworth
Learn how to send an email using PHP.
Recommended hosting:
https://davehollingworth.net/hosting
Full PHP course:
➤ https://davehollingworth.net/phpy
In this video you'll learn how to:
• create a contact form in HTML, including client-side validation
• install and configure the PHPMailer package
• send email using PHPMailer
• debug problems when sending the email
• use the post / redirect / get pattern
Code shown in the video:
➤ https://gist.github.com/daveh/1164348...
Using Gmail's SMTP server:
➤ https://support.google.com/a/answer/1...
PHPMailer:
➤ https://github.com/PHPMailer/PHPMailer
PHPMailer documentation:
➤ https://github.com/PHPMailer/PHPMaile...
CSS:
➤ https://watercss.kognise.dev/
00:00 Introduction
00:19 Create contact form
01:32 Style the form
02:06 Create PHP script
02:52 Get SMTP server
03:37 Sending email from PHP
04:01 Install PHPMailer
04:12 Use PHPMailer
06:57 Debugging
08:31 POST / redirect / GET
09:50 Summary
#PHP #PHPMailer #SMTP #email
Watch video Send email with PHP | Create a Working Contact Form Using PHP online without registration, duration hours minute second in high quality. This video was added by user Dave Hollingworth 12 August 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 161,878 once and liked it 2.6 thousand people.