View Single Post
Old 03-29-2012, 01:48 PM  
raymor
Confirmed User
 
Join Date: Oct 2002
Posts: 3,745
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
raymor is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote