Thank you, I have to paste a query result in the message body. I can do that in the send object method, but I wish to format the message body with colors and font sizes. Your answer helps me to format the mail body, but I can not paste the query in the message body with this html - because it does not recognize the variable which contain the query result.
Please help me to know how to this.
Thank you.