beginnerz
03-03-2006, 09:23 PM
Hi, this is my 1st time trying to create a simple send mail function, if the end user registered my system, it will send one user name and greeting mail to the user. And i trying to use the mail() function, but it dont seems to work.
i m using php4.4, IIS and mssql under window XP
mail(example@hotmail.com', 'My Subject', "testing 1 2 3");
and it shows Warning: mail(): SMTP server response: 550 5.7.1 Unable to relay for example@hotmail.com in c:\inetpub\wwwroot\test.php on line 32
What do i need to change with the smtp inside php.ini. Can somebody provide me a simple example?
Another question is , if i m using IIS , how to connect to pear? this is the 1st time i m using IIS, and i trying to require_one("mail.php") and it shows No such file or directory.
thanks for the patience
i m using php4.4, IIS and mssql under window XP
mail(example@hotmail.com', 'My Subject', "testing 1 2 3");
and it shows Warning: mail(): SMTP server response: 550 5.7.1 Unable to relay for example@hotmail.com in c:\inetpub\wwwroot\test.php on line 32
What do i need to change with the smtp inside php.ini. Can somebody provide me a simple example?
Another question is , if i m using IIS , how to connect to pear? this is the 1st time i m using IIS, and i trying to require_one("mail.php") and it shows No such file or directory.
thanks for the patience