CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Action Send Email - CSS

Print topic Send  topic

Author Message
Peter
Posted: 05/06/2002, 3:53 PM

Please, can someone explain to me, how the action "send email" in CSS is used?
No matter, how I try it, no Mail is sent away. Would be very grateful for assistance.

Greetings
Peter
Alex Alexapolsky
Posted: 05/07/2002, 5:14 AM

Add action , specify action parameters.
Make sure CDONTS components is installed on your server.
Peter
Posted: 05/08/2002, 9:32 AM

Hi alex,
looking into the common.php I saw:

function CCSendMail($Sender, $Recipient, $Subject, $Body, $BodyFormat)
{
// todo
}

I'm not a programmer, but I think, so it can't work. is it right?
greetings
peter
Nicole
Posted: 05/09/2002, 6:14 AM

Peter,
I think it is imperfection in CCS. For now try to add custom send mail code to CCSendMail() function. Try this one:

if($BodyFormat === 0)
$BodyFormat="text/html";
else
if($BodyFormat === 1)
$BodyFormat="text/plain";
$headers = "From: " .$Sender. "\nX-Mailer: PHP/" . phpversion()."\n";
$headers = $headers . "Content-Type: ".$BodyFormat."; charset=iso-8859-1\n";
mail ($Recipient, $Subject, $Body, $headers);

as function body.
Then call it in events.

   


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

Web Database

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.