CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> Archive -> CodeCharge.Discussion

 Email with in codecharge Studio- Help sending Attachments

Print topic Send  topic

Author Message
Robert Viehouser
Posted: 06/27/2002, 6:50 PM

I am working on a email form with in codecharge. works great but I need to
send attachment file also. So if anyone know how please send me so sample
code

Thanks
<?php
file://BindEvents Method @1-3C636BFA
function BindEvents()
{
global $CCSEvents;
$CCSEvents["BeforeUnload"] = "Page_BeforeUnload";
}
file://End BindEvents Method

function Page_BeforeUnload() { file://Page_BeforeUnload @1-BE116681

file://Send Email @4-AAD23372
global $To Email;
global $From Email;
global $Subject;
global $Body of message;
$to = $To Email->GetText();
$subject = $Subject->GetText();
$message = $Body of message->GetText();
$from = $From Email->GetText();
$additional_headers = "From: $from\nReply-To: $from";
mail ($to, $subject, $message, $additional_headers);
file://End Send Email

} file://Close Page_BeforeUnload @1-FCB6E20C


?>


   


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.