Creating a Custom Controller with the Messaging Class
Creating an Email Attachment
Previous Versions
It is possible to send email using Visualforce by creating a custom controller to deliver the message. The Apex Messaging.SingleEmailMessage class handles the outbound email functionality available to Salesforce.
The following topics demonstrate a number of features available when sending email through Visualforce: