Send email from localhost using SMTP maill server | php email sending function

Published: 06 January 2021
on channel: Web Development Simplified
136
2

php.ini file:
;___________________________
SMTP=smtp.gmail.com
smtp_port=465
sendmail_from [email protected]
sendmail_path ="\"C:\xampp\sendmail\sendmail.exe\" -t"
;___________________________

sendmail.ini file:
;____________________________
smtp_server=smtp.gmail.com
smtp_port=465
error_logfile=error.log
debug_logfile=debug.log
[email protected]
auth_password=From email password
[email protected]
;____________________________


Mail function:
________________________
$to="[email protected]";
$sub="Your email subject";
$msg="Your msg is here";
$send=mail($to,$sub,$msg);
if($send==true){
echo "Email successfully send ";
}else{]
echo "Failed to send email";
}
________________________




If it's not work please comment me, I will help you!



Hello friend's, how are you ?
I hop you are all well !

Today we will see how to send email from localhost 100% work,,
If is it helpful,, please do like share and comment also subscribe me for more video,,,
Thanks

I wish you are all well by the grace of ALMIGHTY ALLAH. Now we are starting about the topic of web design and coding,
So , Bless for me and if anytime I have some wrong , so please forgive me for that,


so lets go start learning *************************
and also don't forget to subscribe my channel    / @developerrimon   ,
share my video with your friend's so that they can enrise their knowledge



And also below..........................********

My Facebook link :   / mdrimonislam.rimon.54  
My Facebook group link :  / 305660407296809  
My Facebook page :  / web-design-101030875180557  
My channel YouTube link :   / @developerrimon  



Thanks all,,


Most popular typing site....

https://www.typing.academy/typing-tut...
https://www.keybr.com/
https://onlinetyping.org/typing-lesso...
https://www.typingclub.com/sportal/pr...
https://www.typing.com/student/typing...
https://www.ratatype.com/typing-test/...

#letStartWebDesign#sendemailfromlocalhost

Adobe Audition:https://getintopc.com/wait-for-resource/





______::::;;;;;;;
Facebook page :  / amazon-product-106082374529264  
YouTube link :   / @developerrimon  
website link :https://nwscience98.blogspot.com/


Watch video Send email from localhost using SMTP maill server | php email sending function online without registration, duration hours minute second in high quality. This video was added by user Web Development Simplified 06 January 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 13 once and liked it people.