what is code for email sending through localhost pc..?
Answer Posted / adrevol
You can send mails using mail() function in php.
But you need to configure the SMTP in your php.ini file
by default, it will be set to localhost
change the entry of SMTP = localhost to
SMTP =mail.xxx.com
| Is This Answer Correct ? | 5 Yes | 6 No |
Post New Answer View All Answers
Which is better python or php?
What is the use of post in php?
Write a php function to convert all null values to blank?
Do you know what is the difference between mysql_fetch_object() and mysql_fetch_array()?
Tell me what the difference between the 'bitwise and' operator and the 'logical and' operator?
Tell me what kind of things have you done on the social side?
What are hooks in php?
What is the difference between null and empty?
What does isset() function?
What is the method to register a variable into a session?
Tell me is it possible to submit a form with a dedicated button?
How to find the index of an element in an array php?
What are the Formatting and Printing Strings available in PHP?
What does trim () do in javascript?
Explain mixed and callback functions?