Need to Bold Form Headings

Ask about general coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply
RedDog
New php-forum User
New php-forum User
Posts: 1
Joined: Tue Jan 07, 2020 12:49 pm

Tue Jan 07, 2020 1:17 pm

I cannot get my simple PHP send mail form to bold the headers in the results. The form doesn't have the print or echo commands. Here's part of the code. I've tried everything!

$messageproper =
"This message was sent from:" . $linesep .
$http_referrer . $linesep .
"------------------------------------------------------------" . $linesep .
"Name of sender: $fullname" . $linesep .
"Email of sender: $email" . $linesep .
"Telephone of sender: $telephone" . $linesep .
$linesep .
"------------------------- message -------------------------" . $linesep . $linesep .
$message . $linesep . $linesep .
"------------------------------------------------------------" . $linesep ;
$messageproper = wordwrap( $messageproper, MAX_LINE_LENGTH, $linesep, true ) ;

$headers =
"From: \"$fullname\" <$fromemail>" . $linesep . "Reply-To: \"$fullname\" <$email>" . $linesep . "X-Mailer: chfeedback.php 2.20.2" .
$linesep . 'MIME-Version: 1.0' . $linesep . CONTENT_TYPE ;
User avatar
hyper
php-forum GURU
php-forum GURU
Posts: 904
Joined: Mon Feb 22, 2016 5:52 pm

Tue Jan 07, 2020 1:51 pm

Post Reply