How to Send Email with PHP & Gmail | Send Mail from Localhost using XAMPP Server

preview_player
Показать описание
How to Send Email with PHP & Gmail | Send Mail from Localhost using XAMPP Server

How to configure XAMPP to send Mail from Localhost in PHP?

Music Credit:
Track: Lost Sky - Dreams pt. II (feat. Sara Skinner) [NCS Release]
Music provided by NoCopyrightSounds.

Levianth & Axol - Remember (feat. The Tech Thieves) [NCS Release]
Music provided by NoCopyrightSounds.
Рекомендации по теме
Комментарии
Автор

Hello bro, I have a doubt do we need to install xampp in c drive itself??or can we install it in other drives like d f or g because I have installed xampp in g drive and when I did all u wrote in the blog but when executed using "localhost/filename.php" it showed like this "error sending mail" what do I do

ashomkar
Автор

i tried to follow your instruction on how to config but it always say sending failed

acemalto
Автор

all your tutorials are awesome indeed you are doing a greate job.
but my only problem with your tutorials is assimilating and understanding how and why it works this way. this is due to the background music which i inseated prefare you voice out what you are doing and also solve errors. Speeding every thing up like this will look like you dont make mistakes eccounter errors why writing the codes. Thanks a lot for sharing your ideas

louiskelly
Автор

awesome buddy
it will be very helpful for me
thanx for sharing

pawandabi
Автор

this works on only local host or both local and online?

rushabhgandhi
Автор

Amazing Bro I Need This but is its work in online host ?!

TechnoSG
Автор

what if there is a select option in form ?
what should i write extra ?
pls help

seninkokkodi
Автор

I am a big fan of you. Brother, Can you please make a tutorial of how to send mail by PHP from liver server or Cpanel???

leonlockie
Автор

Thank you Sir, how about adding attachment

muhireherve
Автор

It is showing on web that your have send but when I check it there were no mail
please help

jkr
Автор

I am getting this error:- Warning: mail(): SMTP server response: 530 5.7.0 Must issue a STARTTLS command first.
Please can you/anyone help me.

aryankulkarni
Автор

loved it,
next video on how to sign in and signup using phone no and while signing up for the first time need to verify with otp on that ph no! plz bro

Lerndemy
Автор

This method does not works after hosting my website..what should i do??

wmdokzf
Автор

hello when i run thid code....

this error occures....

mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in

tejasvispute
Автор

Is there copyrights in your code because i want to use in my website

firewatersnow
Автор

Failed to connect to mailserver at localhost port 25 verify your SMTP and smtp_port setting in php.ini Or use ini_set() in please help me what should I do

COFFY_GAMING
Автор

Nice !! You started using vs code ...
How you are experiencing in vs code ?
#fullStackDeveloper

abhinavadarsh
Автор

do you have tutorials on how to How to configure XAMPP to send Mail from Localhost in PHP

acemalto
Автор

the code works perfectly. however, if i apply it to my project, this has some error showing: Uncaught ArgumentCountError: mail() expects at most 5 arguments, 6 given ---- how am i supposed to solve this problem?

angelicamaemacaspac
Автор

is it the same process if I use domain email instead of gmail?

abreracc