How do I include "" in the msg body? I am tring to send a html codes using mail().
Er, what's ""? If you mean you want the email to be read as HTML on the email client instead of as plain text, you have to specify the MIME type in the mail headers.
If that's so, see the article "Sending MIME email in PHP" on this site.
msg_body = 'and he said "rubbish!"';
or
msg_body = "and he said \"rubbish!\"";