Why don't you just take the user input, add it to the HTML template and send?
I'm missing something, because from your explanation it sounds like you have all the tools you need.
Get the text message. Take HTML template. Search and replace template with text message, sender, receiver, etc. Send.
Belrog
Junior Poster in Training
76 posts since Nov 2007
Reputation Points: 11
Solved Threads: 4