Тёмный

✉️ PHP Contact Form Tutorial: Sending Email via XAMPP on Localhost 

AUZ Tutorials
Подписаться 2,9 тыс.
Просмотров 18 тыс.
50% 1

Welcome to our step-by-step tutorial on creating a contact form and sending emails using PHP and XAMPP on your localhost! 🚀
In this beginner-friendly guide, you'll learn how to build a functional contact form for your website and implement email sending capabilities using the powerful XAMPP server. Whether you're a web development novice or looking to brush up on your PHP skills, this tutorial has got you covered.
In this video, you will learn:
Setting up XAMPP on your local machine.
Creating a simple and secure contact form with HTML and PHP.
Configuring your XAMPP environment for email sending.
Sending test emails from your localhost.
Troubleshooting common issues and debugging your code.
By the end of this tutorial, you'll have a fully functional contact form on your localhost that can send emails, making it a valuable addition to your web development skill set.
🔔 Don't forget to subscribe for more web development tutorials, and hit the notification bell to stay updated with our latest content.
👍 If you find this tutorial helpful, please give it a thumbs up and share it with your friends who might also benefit from this knowledge.
💬 If you have any questions or run into any issues, feel free to ask in the comments, and I'll do my best to help you out.
Thanks for watching, and let's get started on your journey to mastering web development and PHP!
Important Links
Installing XAMPP & VS Code
• XAMPP Installation on ...
Website
auztuts.com/
You can join this Facebook group to discuss problems and ask your questions.
web. groups/93038...
You can also follow me on Facebook , Twitter and LinkedIn
Facebook:
/ auz.tutorials
Twitter:
/ aktar_uz_zaman_
LinkedIn:
/ md-aktaruzzaman-a16205134

Опубликовано:

 

6 окт 2023

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 37   
@46_rajashree.s34
@46_rajashree.s34 4 месяца назад
Thank you so much bro! it helped a lot! it is now correctly working!
@auztuts
@auztuts 4 месяца назад
You are welcome.
@technodea2023
@technodea2023 7 месяцев назад
function is working, but mail is not sending
@gamalielrendongomez8300
@gamalielrendongomez8300 9 месяцев назад
Thank you, it worked for me.
@auztuts
@auztuts 9 месяцев назад
You're welcome!
@Nahida.Sayyed
@Nahida.Sayyed 5 месяцев назад
Thank you very much. It really worked
@auztuts
@auztuts 5 месяцев назад
Great
@eyabouabdallah827
@eyabouabdallah827 4 месяца назад
thank you so much , best tutorial ever
@auztuts
@auztuts 4 месяца назад
Glad you liked it!
@WPExplained-wp2xp
@WPExplained-wp2xp 4 месяца назад
Thanks! It worked for me.
@auztuts
@auztuts 4 месяца назад
Great
@user-ry7zx7pk5s
@user-ry7zx7pk5s 4 месяца назад
thank you very much this has really help me
@auztuts
@auztuts 4 месяца назад
You are welcome!
@user-uw1vh8ul8g
@user-uw1vh8ul8g 6 месяцев назад
function execution done but im not get the email!
@Karol_414
@Karol_414 7 месяцев назад
Hi, I copied your steps. when i write down my name, email etc. the site redirect me to a page saying email sent. I don't get the email in my inbox or my spam folder. I copied your steps in the .ini fiels and palced my gmail there. it still does not work. I even looked if windows defender is not blocking the connection but it does not work. Can you help me?
@BirtaKelong
@BirtaKelong 5 месяцев назад
Wow It really worked.
@auztuts
@auztuts 4 месяца назад
Great. Thank you!
@HasheemNaveed
@HasheemNaveed 6 месяцев назад
Thanks a bunch man😭
@auztuts
@auztuts 5 месяцев назад
Welcome
@kylejoshjamoner
@kylejoshjamoner 2 месяца назад
please help me i follow all step then there's no email receive in my gmail but i try to error my code then i input the contacts form and submit i doesn't meet the email sending failed 😭
@HaseebKhan-ux2px
@HaseebKhan-ux2px 6 месяцев назад
yay smtp ki file kha say aen gi
@akshithaalladi2769
@akshithaalladi2769 Месяц назад
Can u provide the source code
@umdonald
@umdonald 5 месяцев назад
what of those of us using wamp how do we locate the php-ini there
@auztuts
@auztuts 5 месяцев назад
It should be in the PHP folder
@CARLOSEDUARDOHERNANDEZMONTES
@CARLOSEDUARDOHERNANDEZMONTES 3 месяца назад
hello i have a problem that is when i´m looking for the password apps on 2FA but it is not the section, do you know why does it happen?
@auztuts
@auztuts 3 месяца назад
Make sure 2 step verification is turned one and then use this link myaccount.google.com/apppasswords
@CARLOSEDUARDOHERNANDEZMONTES
@CARLOSEDUARDOHERNANDEZMONTES 3 месяца назад
@@auztuts thx
@sparshkhasgiwale1983
@sparshkhasgiwale1983 8 месяцев назад
mine is not working email fuction is called but rthe email is not in the inbox
@auztuts
@auztuts 8 месяцев назад
Please make sure you watch the tutorial from first to last. The last part is very important. Also don't forget to restart the modules in the XAMPP server.
@hanson3951
@hanson3951 4 месяца назад
how can i can the infor for php.ini and change it?or just copy the infor video you posted?
@auztuts
@auztuts 4 месяца назад
No, you will have to find the specific lines of codes and then replace.
@hanson3951
@hanson3951 4 месяца назад
@@auztutswhere can i find it?
@ronrivero1533
@ronrivero1533 5 месяцев назад
what if I am using a live server, where I can locate sendmail and php.ini to my cPanel to change the configuration?
@auztuts
@auztuts 5 месяцев назад
HI, this tutorial is only for the ones who are using local server. If you want to do in cPanel you will have to check with hosting if they provide SMTP for sending email.
@ronrivero1533
@ronrivero1533 5 месяцев назад
@@auztuts what if they have already provided the SMTP details to me, such as Host, Port, Username and Password. Where should I find it and replace it to the cPanel?
@Redllowge_
@Redllowge_ 3 месяца назад
Umhh there its a problem, when i finish, i click on send and this message appear: Warning: require(path/to/PHPMailer/src/Exception.php): Failed to open stream: No such file or directory in C:\xampp\htdocs\contact-form\process.php on line 5 Fatal error: Uncaught Error: Failed opening required 'path/to/PHPMailer/src/Exception.php' (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\contact-form\process.php:5 Stack trace: #0 {main} thrown in C:\xampp\htdocs\contact-form\process.php on line 5
@auztuts
@auztuts 3 месяца назад
You are missing process.php file. Please create the file first.
Далее
Send Email using HTML + JavaScript (EmailJs Tutorial)
16:30