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
Tell me how comparison of objects is done in php5?
How can we automatically escape incoming data?
Why ide is recommended for use while programming with php?
Explain what is the use of "echo" in php?
What is default session time in php?
How to change the principal password?
Tell me what the difference between the 'bitwise and' operator and the 'logical and' operator?
Is php an oop?
What are the advantages of indexes in php?
What are helpers in php?
What is a definer in mysql?
Which database is best for php?
What is cookies? How to create cookies in php?
What are php variables?
Explain Traits in PHP?