olaf wrote:hehe.... cool...
Hi, I install SMTP server for Windows 2003 server and now i get this error message:
PHP Warning: mail(): SMTP server response: 550 5.7.1 Unable to relay for chintan_2512@yahoo.com in C:\Inetpub\wwwroot_debug_tmp.php on line 9
My code is :
<?php
// The message
$message = "Line 1\nLine 2\nLine 3";
// In case any of our lines are larger than 70 characters, we should use wordwrap()
$message = wordwrap($message, 70);
// Send
mail("chintan_2512@yahoo.com", 'My Subject', $message);
?>
and my php.ini file is:
[mail function]
; For Win32 only.
SMTP = 127.0.0.1
smtp_port = 25
; For Win32 only.
sendmail_from = gth838t@mail.gatech.edu
Plz tell me what's the wrong with the code?
Thanx in advance.