It is, in fact, possible. There's even a built-in function that does exactly that:
mail("to","subject","message","headers");
"to" is who you're sending the email to.
"subject" is the subject line of the email.
"message" is the email message itself.
"headers" are things like From:, Cc:, and...