Bug #18431 Updated: Mail fonction () Not Sending!

From: Date: Fri, 19 Jul 2002 09:25:31 +0000
Subject: Bug #18431 Updated: Mail fonction () Not Sending!
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-14614@lists.php.net to get a copy of this message
ID: 18431 Updated by: sniper@php.net Reported By: jordan23@pt.lu -Status: Open +Status: Feedback Bug Type: Mail related Operating System: Windows 2K Ad. Server SP2 - IIS5 PHP Version: 4CVS-2002-07-19 New Comment: Try turning it on? And you should show us the script SOURCE at the url you gave.. Previous Comments: ------------------------------------------------------------------------ [2002-07-19 05:19:07] jordan23@pt.lu if i trun it off, the script still doesn't work! the server doesn't send the email! ------------------------------------------------------------------------ [2002-07-19 05:12:03] sniper@php.net In PHP 4.2.0, the 'register_globals' setting default changed to be off. See http://www.php.net/release_4_2_0.php for more info. We are sorry about the inconvenience, but this change was a necessary part of our efforts to make PHP scripting more secure and portable. ------------------------------------------------------------------------ [2002-07-19 05:04:25] jordan23@pt.lu example: -------------------------------------------------------- <?php /* Send a simple message with plain text and no attachments. */ if ($showsource) { show_source ($SCRIPT_FILENAME); exit; } include_once("../../vlibMimeMail.php"); $mail= new vlibMimeMail; // create the mail $mail->to('akumschick@kumschicknw.com', 'Alain Kumschick'); $mail->from('root@kumschicknw.com', 'Root'); $mail->subject("this is a test subject"); $mail->body("Hello\n\nThis is a plain text body for the mail!"); // set the body /* send the mail (this is commented out as it's purely documentational) */ $mail->send(); echo "<pre>", $mail->get(), "</pre>"; // and echo the entire body of the mail to see what it looks like ?> <a href="example1.php?showsource=1">show source</a> -------------------------------------------------------- here is an example i got from a site to send emails with the mail fonction(), under linux/unix the script works fine, but under Windows 2000 Advanced Server Service Pack 2 with IIS5 i get NO error message anymore (befor php v4.0.6 and now v4.2.2-dev) but the email is not sending! and the "$SCRIPT_FILENAME" doesn't work to! is there a reasen? error msg: Warning: Failed opening '' for highlighting ... example is there: (windows machine) http://www.kumschicknw.com/apps/postcard/test/examples/vlibMimeMail/example1.php email: Alain Kumschick <akumschick@kumschicknw.com> or <jordan23@pt.lu> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=18431&edit=1

« previous php.bugs (#14614) next »