You're getting "$summary" because that's what you're passing to mail():
mail( $to, $subject, $summary, $header);
You intended to mail $message, so replace $summary with $message.
You did right by hardcoding both $from and $to. If you had set either $from or $to as tjeir email address while allowing them to affect $message, it works be exploitable by spammers.
__________________
For historical display only. This information is not current:
support@bettercgi.com ICQ 7208627
Strongbox - The next generation in site security
Throttlebox - The next generation in bandwidth control
Clonebox - Backup and disaster recovery on steroids
|