What exactly is your problem - that wasn't really clear. What is and isn't working, and what did you need help with?
One thing I notice right off the bat is that it looks to me like you are echoing data out to the browser that you are probably intending on putting into a variable to use as the message's body.
SikoSoft
Junior Poster in Training
55 posts since May 2010
Reputation Points: 14
Solved Threads: 8