Link to home
Create AccountLog in
Avatar of kadin
kadinFlag for United States of America

asked on

Sending email. How to format text in a message? bold for example.


$subject = "This is my subject";
$header = "from: your name <test@test.com>";
$message = "How do I make this bold? I tried <b>this</b>, but did not work.";
$message .= "Can I make the background a different color?";
            
$sentmail = mail($email,$subject,$message,$header);

Thanks.
ASKER CERTIFIED SOLUTION
Avatar of Marco Gasi
Marco Gasi
Flag of Spain image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account