|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-05-22 03:53 UTC] jimw at cvs dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Fri Jun 26 17:00:01 2026 UTC |
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.