Sr. PHP Programmer Question:
Download Job Interview Questions and Answers PDF
How send email using php?
Answer:
To send email using PHP, you use the mail() function.This mail() function accepts 5 parameters as follows (the last 2 are optional). You need webserver, you can't send email from localhost.
eg : mail($to,$subject,$message,$headers);
eg : mail($to,$subject,$message,$headers);
Download Senior PHP Programmer Interview Questions And Answers
PDF
Previous Question | Next Question |
What is the use of isset() in php? | Explain what is sql injection? |