Peace, I made a mail form and I want to enable The HTML in the Mail Message, How can I do it?... I wrote in the headers:
$headers='From:Management<[EMAIL="info@3malas.com>'"]info@3malas.com>'[/EMAIL];
Pro2000
29
Posting Whiz
Recommended Answers
Jump to Posttry this:
<?php
$subject = "HTML Test";
$header = "MIME-Version: 1.0\n";
$header .= "Content-type: text/html; charset=iso-8859-1\n";
$header .= "From: CodeRewind <service@coderewind.com>\r\n";
$to = "";
$body = "";
$body = $body.'<b>Test HTML Mail</b>';mail($to, $subject, $body, $header);
?>
Jump to PostLet me know.
Jump to PostWhat is the error?
\n is for New line
Jump to Posttry sending the mail to a different email address.
All 13 Replies
binoj_daniel
14
Practically a Master Poster
Pro2000
29
Posting Whiz
binoj_daniel
14
Practically a Master Poster
Pro2000
29
Posting Whiz
binoj_daniel
14
Practically a Master Poster
Pro2000
29
Posting Whiz
binoj_daniel
14
Practically a Master Poster
Pro2000
29
Posting Whiz
binoj_daniel
14
Practically a Master Poster
Pro2000
29
Posting Whiz
Pro2000
29
Posting Whiz
Eko
1
Junior Poster in Training
Pro2000
29
Posting Whiz
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.