Тёмный

How to Send Email Using PHPMailer in PHP 

Codes Easy
Подписаться 31 тыс.
Просмотров 73 тыс.
50% 1

In this video, I'm going to show you how to send email using PHPMailer in PHP. PHPMailer is a popular library for PHP, and in this video I'll show you how to use it to send email from your web application.
PHPMailer is easy to use and can be used to send mail from a web application or site. I'll show you how to set up your SMTP account, create a message, and send the email. After watching this video, you'll be able to send email using PHPMailer in PHP!
PHPMailer Github: github.com/PHP...
Download Source Code: youtube.codese...
########## For Doubts (ask it here) ################
Discord: / discord
Whatsapp group: whatsappgroup....
############################################
########## For Business Queries ##########
Contact us for any business queries:
Email: mail@codeseasy.com
Phone number: +918281536333
WhatsApp: whatsapp.codes...
####################################
Find us on Social Media:
Website: www.codeseasy.com
Telegram: t.me/CodesEasy...
Facebook: / codeseasy
Instagram: / codeseasy
Twitter: / codeseasyblog

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

 

10 сен 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 60   
@ارغوانامیری-ذ6ط
@ارغوانامیری-ذ6ط 5 месяцев назад
I have a form that catch the users's emails and send them a verifying code. So, how should I use this library in my code?
@jayeshfasate9380
@jayeshfasate9380 4 месяца назад
Can you make a video on how to purchase or which smpt server to buy?
@salisappayani7727
@salisappayani7727 Год назад
when I paste the “composer require phpmailer/phpmailer it doesn’t work even though I already downloaded it and make it public, still doesn’t work at all
@CodesEasy
@CodesEasy Год назад
Make sure the composer is installed and path is added properly Then restart your computer
@SubSquadTV2024
@SubSquadTV2024 Год назад
Hello Good morning. it has an error for me when I'm installing the composer php mailer. it said that git was not found in your path. help me. thank you.
@CodesEasy
@CodesEasy Год назад
Install git and add it your environment veriable
@michaeljacobdelossantos
@michaeljacobdelossantos Год назад
Thanks, this tutorial worked for me.
@CodesEasy
@CodesEasy Год назад
Glad it helped
@yavuzbey5097
@yavuzbey5097 9 месяцев назад
What the hell SMTP Error: Could not authenticate.??
@CodesEasy
@CodesEasy 9 месяцев назад
Your SMTP details are wrong.
@dickrex
@dickrex 10 месяцев назад
Why use PhpMailer\PhpMailer\PhpMailer use PhpMailer\PhpMailer\SMPT use PhpMailer\PhpMailer\Exeption ...when one default foldername in that path is "scr"? ...and why not ".php" at the end? I dont have my own server, but just a webhotel. I can sen mails today, but without composer. Why? Is there a video that explains more?
@CodesEasy
@CodesEasy 10 месяцев назад
join our WhatsApp group or discord server ad explain your doubt
@kvng_Edwin
@kvng_Edwin Год назад
Thanks a lot this helped !!!
@CodesEasy
@CodesEasy Год назад
Glad it helped!
@kikaximenes813
@kikaximenes813 8 месяцев назад
How to send email smpt with antivirus protection. Because i cant send it when the antivirus protection is activ😫
@CodesEasy
@CodesEasy 8 месяцев назад
Purchase an SMTP server its available for low rates also
@tashifkudpadi3146
@tashifkudpadi3146 Год назад
I'm getting this error in the terminal : The term 'composer' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
@CodesEasy
@CodesEasy Год назад
You have to install composer, google it
@pedrozimmer23
@pedrozimmer23 9 месяцев назад
thank you vey much it worked
@CodesEasy
@CodesEasy 9 месяцев назад
Glad it helped
@francescofaccia
@francescofaccia Месяц назад
that was very useful thankyou
@CodesEasy
@CodesEasy Месяц назад
Glad it helped
@alalyrealestate1136
@alalyrealestate1136 Год назад
Thanks a lot for the tutorial >> can you tell me how to add a preloader while sending the email >> which javascript event is used while sending email data to the server
@CodesEasy
@CodesEasy Год назад
You can add the email api from javascript and the add a progress bar for the process
@bravehotsauce
@bravehotsauce 6 месяцев назад
thank you!
@CodesEasy
@CodesEasy 6 месяцев назад
You're welcome!
@EduTechBD01
@EduTechBD01 Год назад
thanks a lot thanks a lot
@CodesEasy
@CodesEasy Год назад
You are most welcome
@kashishvarshney2225
@kashishvarshney2225 9 месяцев назад
we need to purchase SMTP?
@CodesEasy
@CodesEasy 9 месяцев назад
Yes you will require an SMTP server
@quantumworld854
@quantumworld854 4 месяца назад
This does not work if you are working with a real time website.
@aduadularry1154
@aduadularry1154 Год назад
Can you please help in mentioning on using sender like php mailer, mailer with smtp and sending to numbers
@CodesEasy
@CodesEasy Год назад
You mean send messages to phone numbers ?
@CodesEasy
@CodesEasy Год назад
Is that's what you ment for that we can make a tutorial soon. Stay subscribed. I have added this topic to the list.
@aduadularry1154
@aduadularry1154 Год назад
Yes sending message to phone number because sometimes it doesn't deliver, I have use reach and many alternative but no avail
@DirtyO_G
@DirtyO_G 6 месяцев назад
bro another video on how to make a dashboard in html and css to enter the data with inputs connect the php to the html
@orbasayankimjasper8773
@orbasayankimjasper8773 Год назад
great
@CodesEasy
@CodesEasy Год назад
Happy that you liked it
@user-xs1rf6ko4s
@user-xs1rf6ko4s Год назад
How about in live server? It works in localhost but how about in live server
@CodesEasy
@CodesEasy Год назад
There are no changes, apart from your php configurations there is nothing that's going to be an issue and most of the time shared hostings come with proper installation etc. With the mail sending part for SMTP we are using a different server so that's not going to get affected if it's working on localhost
@user-jm6kc1pv6k
@user-jm6kc1pv6k 10 месяцев назад
Hi is this work on macos?
@CodesEasy
@CodesEasy 10 месяцев назад
Install Apache and it works on all operating system
@user-jm6kc1pv6k
@user-jm6kc1pv6k 10 месяцев назад
Hi is xampp also can use it? And after download the composer my file is needed open inside the composer or in htdocs also can?
@user-jm6kc1pv6k
@user-jm6kc1pv6k 10 месяцев назад
hi When i paste the composer require phpmailer/phpmailer to the terminal,it show command not found @@CodesEasy
@user-jm6kc1pv6k
@user-jm6kc1pv6k 10 месяцев назад
I already install zip file from github but still same
@user-jm6kc1pv6k
@user-jm6kc1pv6k 10 месяцев назад
@@CodesEasy using vs code amd xampp also work right?
@robertamberwich1368
@robertamberwich1368 Год назад
Excellent, but I'm getting authentication error, I'm 100% sure the username and password is 100000% correct, any ideas ?
@CodesEasy
@CodesEasy Год назад
Check the host address and also check if the port is correct etc
@kerisek11
@kerisek11 3 месяца назад
Doesnt work, multiple errors
@rascenaj7980
@rascenaj7980 Месяц назад
Ofcourse it will not work if you try to send email on the name of bing companies such is the facebook, instagram or gmail
@rascenaj7980
@rascenaj7980 Месяц назад
And you need to make your own code to make it work… everything is possible on internet so keep digging man.
@rizonrise450
@rizonrise450 10 месяцев назад
should have included installation :/
@CodesEasy
@CodesEasy 9 месяцев назад
We have included everything required for this particular feature. If we are missing anything feel free to ask. Join our groups and you can get help also
@visualbree
@visualbree 10 месяцев назад
Came here for the SMTP part and you skipped that, not even an explanation.
@CodesEasy
@CodesEasy 10 месяцев назад
Sure, we could do a video on explaining SMTP if you like, but this video is only about implementing PHPMailer
@visualbree
@visualbree 10 месяцев назад
@@CodesEasy Its ok, this video has setup a good starting point. Great work.
@Shutori
@Shutori Месяц назад
remember to not have ur email and password on public display u can hide it in a config file or add the variables to ur environment variables.
@jjviralvideos89
@jjviralvideos89 10 месяцев назад
Please can you help me with my attachment, it shows error(```php Message could not be sent. Mailer Error: Could not access file: assets\passport1.jpg)
@CodesEasy
@CodesEasy 10 месяцев назад
Your path to the file might be wrong
@jjviralvideos89
@jjviralvideos89 10 месяцев назад
Please can you make a short video on how and where to save the file in order to attach it as some of us are newbies, thank you.@@CodesEasy
Далее
Growing fruit art
00:33
Просмотров 1 млн
Новый уровень твоей сосиски
00:33
How To Send Unlimited Emails Using PHP Cloud Mailer
6:43
How to send Emails via SMTP using PHPMailer?
3:24
Просмотров 47 тыс.
Growing fruit art
00:33
Просмотров 1 млн