Sending emails in php?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Sending emails in php??

1st Jul 2017, 8:35 AM
MoHit SaJwan
MoHit SaJwan - avatar
4 Answers
+ 8
mail() function is used to send mails in PHP. Refer https://www.w3schools.com/php/func_mail_mail.asp for more information.
1st Jul 2017, 8:51 AM
Krishna Teja Yeluripati
Krishna Teja Yeluripati - avatar
+ 2
use standard function of PHP - mail(), but take care of falling in blacklist :)
1st Jul 2017, 9:04 AM
Saidmamad Gulomshoev
Saidmamad Gulomshoev - avatar
+ 1
@MoHit it will not send an email from the local computer. It just saves them in a temporary folder. In order to send an email via mail(), you shoukd upload your file (or website entirely) in a web server.
18th Aug 2017, 8:26 AM
Saidmamad Gulomshoev
Saidmamad Gulomshoev - avatar
0
not working
2nd Jul 2017, 6:42 AM
MoHit SaJwan
MoHit SaJwan - avatar