rvp032582
Posts: 47
|
| Posted: 09/02/2008, 12:01 PM |
|
is there a quick/simple way to make a form email it's results but in html formatting? see below ($Requests->Request->GetText(); is the field that'll have html formatting etc)
global $users;
$to = "email@email.com";
$subject = "Website Info Request";
$message= $Requests->Request->GetText();
$from = $Requests->ReqEmail->GetText();
$additional_headers = "From: $from\nReply-To: $from\nContent-Type: text/html";
mail ($to, $subject, $message, $additional_headers);
|
 |
 |
mentecky
Posts: 321
|
| Posted: 09/03/2008, 1:04 AM |
|
I use PHPMailer which is an open source component you can download at:
http://phpmailer.codeworxtech.com/
It's exceptionally easy to implement and has tons of options.
Rick
_________________
http://www.ccselite.com |
 |
 |
|