CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> PHP

 how to use send email action with lotus notes smtp

Print topic Send  topic

Author Message
Posted: 01/18/2004, 10:40 PM

how to use send email action with lotus notes smtp?.
my code like :
//Send Email @38-5534FD56
global $userreq;
ini_set("SMTP", "");
$to = "";
$subject = "test";
$message = "test";
$from = "";
$additional_headers = "From: $from\nReply-To: $from\nContent-Type: text/plain";
mail ($to, $subject, $message, $additional_headers);
//End Send

and then message error
Warning: Failed to Connect in c:\apache\htdocs\userreq1\adminnt_events.php on line 85

Warning: Cannot add header information - headers already sent by (output started at c:\apache\htdocs\userreq1\adminnt_events.php:85) in c:\apache\htdocs\userreq1\adminnt.php on line 809

any suggest ? thanks alot :-)

Posts: 5971
Posted: 01/18/2004, 10:56 PM

Which one is line 85 in adminnt_events.php ?
Peter R.
YesSoftware Forums Moderator
For product support please visit
View profile  Send private message
Posted: 01/18/2004, 11:36 PM

line 85 in adminnt_events.php is :

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

this code generate from ccs

//userreq_Button_Submit_OnClick @29-312AACC0
function userreq_Button_Submit_OnClick()
$userreq_Button_Submit_OnClick = true;
//End userreq_Button_Submit_OnClick

//Send Email @38-3E8AEB92
global $userreq;
ini_set("SMTP", "");
$to = "";
$subject = "test";
$message = "test";
$from = "";
$additional_headers = "From";
mail ($to, $subject, $message, $additional_headers);
//End Send Email

//Close userreq_Button_Submit_OnClick @29-D7FA5A39
return $userreq_Button_Submit_OnClick;
//End Close userreq_Button_Submit_OnClick

thanks :-D

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

Internet Database

Visually create Web enabled database applications in minutes.

Home   |    Search   |    Members   |    Register   |    Login

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