Just a note: for some reason when you cut and paste the code from here to EditPlus for windows, it butchers this section:
PHP Code:
if($_POST['sendhtml'])
{
vbmail($user['email'], $_POST['subject'], $sendmessage, true, $_POST['from'], '', '', true);
}
else
{
vbmail($user['email'], $_POST['subject'], $sendmessage, true, $_POST['from']);
}
not sure why. Just a heads up if this is driving anyone nuts who uses EditPlus like I do. I typed it in by hand and it works fine. Cheers!