Whats in this post?
- Background and Explanation of the code
To copy code: Click “View Source” on the right of this code snippet.
Background and Explanation of the code
A PHP mail() function is used to send emails. mail function takes in 4 arguments;the email of recipent,subject,message and headers.Header will consist of from email and reply to along with other stuff.