CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 form to email in html formatting

Print topic Send  topic

Author Message
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);
View profile  Send private message
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
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.