|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
Problems with SMTP
I suspect that there may be a problem with the PHP installation concerning SMTP and sending emails on a Windows server. Scripts that I have used several times on Linux servers are not working on a certain Windows server. Here is the error message:
Warning: mail() [function.mail]: SMTP server response: 551 relaying denied in F:\wwwmail.php on line 15 Mail sent to yourname@yourdomain.com I'm using two files to send the email. One is a form page: <form name="form1" method="post" action="mail.php"> <table width="361" border="1"> <tr> <td width="212"><input name="name" type="text" id="name"></td> </tr> <tr> <td><input name="email" type="text" id="email"></td> </tr> <tr> <td><textarea name="message" id="message"></textarea></td> </tr> <tr> <td><input type="submit" name="Submit" value="Send"></td> </tr> </table> </form> The other file, mail.php contains this code: If someone could determine if there is a problem with the code in the files that I am using, or if the host has a problem with the PHP installation, I would appreciate it. Also, the code from A. Walsh's tutorial which I have used with success numerous times, also would not work on this particular server. Thanks for your help. |
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Installation > Problems with SMTP |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|