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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: sromero at usa dot net
New email:
PHP Version: OS:

 

 [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: Sat May 11 04:01:32 2024 UTC