Sending Email Part 2 - English

6440 visits



Outline:

Sending Email (Part 2) Validating whether the name and message have been entered by the user Check the length of the string using the strlen() function. Set up the to, subject and message field of the mail() function Send email and check for any errors