1.

Which one of the following function is used to send an email using PHP script?(a) mail_send()(b) send_mail()(c) mailrr()(d) mail()The question was asked in an internship interview.Query is from Networking with PHP topic in portion File and Session Handling in PHP of PHP

Answer»

The CORRECT answer is (d) mail()

The best I can explain: The function mail() ALLOWS you to send emails DIRECTLY from a script. Using mail(string to, string SUBJECT, string message), you can send any mail.



Discussion

No Comment Found

Related InterviewSolutions