how do I set the body message with some posted data with phpmailer? I know how to do this in mail() function but not phpmailer. What I need is the body to have something like this.

This message is sent by $name on $date with phpmailer.

Thanks.