Well, I'm not a php expert by any means, but it looks to me like if you remove the "$RawBody\n\n" variable, it should exclude the body of the message, but I did and it doesn't.
Well, at least my forum still works. Usually when I start editing php code the whole site crashes and I have to upload the backups. I have a technical degree in "cut-n-paste." ha!!