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 a string in php?
What is variable function php?
Can we extend two classes in php?
What is the most common http method?
What kind of things have you done on the social side?
How to generate a form?
How to delete an element from an array?
What is substr() in php? And how it is used?
Tell me can the value of a constant change during the script's execution?
I need to know about the courses which are useful in corporate companies.. especially php/mySQL, Java/j2ee, .NET.. also tell if any other courses are valuable
Who is the father of php and what is the current version of php and mysql?
Is learning php easy?
Is php free to use?
How big is varchar max?
How to access a Static Member of a Class in PHP?