php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4073 mail() function not working since 3.0.12
Submitted: 2000-04-07 15:42 UTC Modified: 2000-05-22 03:53 UTC
From: sromero at usa dot net Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 3.0.16 OS: Win9x/NT (Win32)
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
16 + 20 = ?
Subscribe to this entry?

 
 [2000-04-07 15:42 UTC] sromero at usa dot net
With the same php3.ini file I can send email using the mail() function using php-3.0.11.  After that version, all of them (till 3.0.16) generate an Illegal operation error.

I have tried to setup the SMTP directive, using IP numbers, or names, put some equivalent names on the HOSTS file. It doesn't work.

Test script is:
<?php
echo sendmail("sromero@usa.net", "Test mail", "This is a test mail");
?>

I'm using the pre-compiled version of php for win32, downloaded from the php site.

The only changes on php3.ini file are on the SMTP directive and the sendmail_from directive, to reflect the SMTP server and address accordingly.

The operating system is Win98SE and WinNT4 SvcPack6, the SMTP server it's an Exchange SMTP server on WinNT.  Tried to run the script on both machines.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-05-22 03:53 UTC] jimw at cvs dot php dot net
fixed. workaround is to supply an empty fourth argument.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 24 01:01:31 2024 UTC