المدة الزمنية 10:18

Send email with PHP | Create a Working Contact Form Using PHP

بواسطة Dave Hollingworth
75 221 مشاهدة
0
1.3 K
تم نشره في 2022/08/12

Please consider supporting my channel: ☕ https://ko-fi.com/davehollingworth Learn how to send an email using PHP. 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/1164348fe21a6e7363d28c7b94c9eb3f Using Gmail's SMTP server: ➤ https://support.google.com/a/answer/176600?hl=en#zippy=%2Cuse-the-gmail-smtp-server PHPMailer: ➤ https://github.com/PHPMailer/PHPMailer PHPMailer documentation: ➤ https://github.com/PHPMailer/PHPMailer#documentation 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

الفئة

عرض المزيد

تعليقات - 190