CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> Archive -> GotoCode Archive

 CCS/PHP: How do i send email notification ?

Print topic Send  topic

Author Message
Simon
Posted: 09/05/2002, 11:32 AM

I have only been able to find ASP examples, can anyone tell me of
a PHP example ?

TIA

Simon
Simon
Posted: 09/05/2002, 1:15 PM

Ah.. OK had overlooked the Action "Send Mail"

But how do i get it to mail a test file. ?
Simon
Posted: 09/05/2002, 3:36 PM

This was what i wanted to accomplish....

//Send Email @13-A1B37084
global $profiler;
$to = $profiler->email->GetText();
$subject = "Velkommen";
$message_file = "velkommen.txt";
$from = "my@email.dk";

$additional_headers = "From: $from\n" .
"Reply-To: $from" ;

$fhandle = fopen($message_file, "r");
$body = fread($fhandle,filesize($message_file));
fclose($fhandle);

mail ($to, $subject, $body, $additional_headers);




   


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

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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