what is code for email sending through localhost pc..?
Answer Posted / tanmoy
localhost pc not support to send mail.
but we can check it in our localhost web browser by this code:
$val= mail($to,$sub,$message,$headers);
echo "TO::".$to."<br>";
echo "FROM::".$fr."<br>";
echo "Sub::".$sub."<br>";
echo "Message:".$message."<br>";
exit();
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What is the default time of cookie in php?
How we get browser details of clients machine?
Which are the best start and end tags to use?
What good is polymorphism?
What the limitation of header() function in php?
How many php functions are there?
How to genrate report in wordpress cms
Is php faster than nodejs?
How long is csrf token?
How to initiate a session in php?
How to take a substring from a given string in php?
Is age an interval or ratio?
What are php magic quotes?
What is the difference between print() and echo() in PHP?
What does csrf token mismatch mean?