hi friends

I am using mail function to send message one user to another user in php application .

When i send the mail i got the html code with mail content .

example
X-Mailer: PHP/4.3.9
Message-Id: <>
Date: Wed, 18 Jul 2007 00:24:54 -0700 (MST)

Name : RAM<br><br>Message :<b>Test</b>

how to solve the issue
please help me

You can use

mail($recipient, $subject, $message,  "From:". $sender."\nContent-Type: text/html; charset=iso-8859-1");

- Mitko Kostov

Grate excellent
super

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.