Bug #18431: Mail fonction () Not Sending!
| From: | jordan23 at pt dot lu | Date: | Fri, 19 Jul 2002 09:04:27 +0000 |
| Subject: | Bug #18431: Mail fonction () Not Sending! | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-14609@lists.php.net to get a copy of this message | ||
From: jordan23@pt.lu
Operating system: Windows 2K Ad. Server SP2 - IIS5
PHP version: 4CVS-2002-07-19
PHP Bug Type: Mail related
Bug description: Mail fonction () Not Sending!
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 bug report at http://bugs.php.net/?id=18431&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=18431&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=18431&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=18431&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=18431&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=18431&r=support
Expected behavior: http://bugs.php.net/fix.php?id=18431&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=18431&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=18431&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=18431&r=globals