I have an Apache Server with php on a Win 2000 Professional PC.
The settings with the php.ini file is as follows
[mail function]
; For Win32 only.
SMTP = 10.76.10.11
smtp_port = 25
The 10.76.10.11 is a different server that has Exchange 5.5 running on it.
I can Telnet into this server using the above specified settings. However I did not test if any command here (mainly because I do not know how to).
When I run the following code:
<?php
$email = "mmouse@disney.com";
$subject = "Welcome To BAA";
$message = "Dear Blaa,Thank you for blaa blaa ..more blaas.";
mail($email,$subject,$message);
?>
I get the following error:
Warning: Server Error in C:\ on line 5
Is the problem with the code or are the setting on one of the servers incorrect.
If it is with the servers then what things can I check.
Thanking you in advance for any help received
The settings with the php.ini file is as follows
[mail function]
; For Win32 only.
SMTP = 10.76.10.11
smtp_port = 25
The 10.76.10.11 is a different server that has Exchange 5.5 running on it.
I can Telnet into this server using the above specified settings. However I did not test if any command here (mainly because I do not know how to).
When I run the following code:
<?php
$email = "mmouse@disney.com";
$subject = "Welcome To BAA";
$message = "Dear Blaa,Thank you for blaa blaa ..more blaas.";
mail($email,$subject,$message);
?>
I get the following error:
Warning: Server Error in C:\ on line 5
Is the problem with the code or are the setting on one of the servers incorrect.
If it is with the servers then what things can I check.
Thanking you in advance for any help received