Why this php code could not send out mail? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why this php code could not send out mail?

I have use this code and try to send out mail. The internet are stable and the server have open. I have try two version of code: https://code.sololearn.com/w8Fxkb0kNd0g/#php Am I omitted anything? Thanks.

28th Jan 2019, 8:18 AM
CHUA YI HAO
CHUA YI HAO - avatar
2 Answers
+ 4
For your own security please don't share any kind of personal information (e.g. mail address).
28th Jan 2019, 8:24 AM
Diego
Diego - avatar
0
//PHPMailerAutoload.php ->missing file And this should be run on localhost server to make it actually work not possible pn sololearn code playground
28th Jan 2019, 12:47 PM
Sudarshan Rai
Sudarshan Rai - avatar