It takes an array with the sender and recipient addresses, subject and message body, and sends the message. This array can be the a copy of the post or get parameters submitted using a form.
The class can also validate e-mail addresses testing against a e-mail regular expression.