Junior PHP Developer Question:

How send email in php?

Tweet Share WhatsApp

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);

Download Junior PHP Developer PDF Read All 161 Junior PHP Developer Questions
Previous QuestionNext Question
Tell me how to find the length of a string?Tell me how to find the position of the first occurrence of a substring in a string?