php mail problem

leedude

New Member
hi, i am attempting to get php mail() function to work, it is not.
i am not getting any error messages in the log file.

here is my php.ini:
http://81.129.49.40/php.ini

phpinfo:
http://81.129.49.40/phpinfo.php

and here is my program:

PHP:
$name = $_GET['name'];

mail('[email protected]', 'Subscription', $name);
it is supposed to send the $name variable to my email address.

however, i am not recieving anything, i have looked in the spam folder, and have tried other emails.

please help.
 
The problem is dependant on the operating system of PHP.

If you're running under a Windows controlled environment, you will need to set up your mail server in the 'php.ini' configuration file. This is currently set at 'localhost', as represented in the following:

[mail function]
; For Win32 only.
SMTP = localhost
smtp_port = 25

Without further information, such as the operating system, it's a little more difficult to diagnose your problem.
 
ah, ok, sorry, its fedora core 5.
by the way, i have installed an rpm of it(it was source code before), so, to access the pages, you must use port 90.
---------xx.xx.xx.xx:90/foo---------
 
Back
Top