$From = "firstname.lastname@example.org";
$member = Member::currentUser();
$To = $member->Email;
$Subject = "(sitename) activation - last step before full profile control";
$Body = "<p>$member->FirstName, please say hello to Heidi,
<br />She will guide you through the rest of the activation project.
<br />Be sure to send her some sample images of your art work as part of your activation!</p>";
$email = new Email($From, $To, $Subject,$Body,null,null,"email@example.com");
Took out site name since its still launching...
But I will be sure to add it to the showcase - its a social networking site built 100% on silverstripe! Launches August 3rd 09- wish us luck!