|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Mail relay error when sending email using IIS on XP Pro
Dear all,
I'm new to servers and server side languages and scripts, Iam using IIS that comes with XP profesional and just download the PHP to go with it. Everything so good so far. I have tested the phpinfo(); and it is working but when tested my form it doesn't work with the following warnings: Warning: mail() [function.mail]: SMTP server response: 550 5.7.1 Unable to relay for miskintapisombong@yahoo.com in C:\Inetpub\wwwroot\sendit.php on line 8 Warning: Cannot modify header information - headers already sent by (output started at C:\Inetpub\wwwroot\sendit.php:3) in C:\Inetpub\wwwroot\sendit.php on line 9 php folks already looking at the php scripts and confirmed OK but they don't know anything about IIS. Iam using this server in my own computer at home and only for my own learning of server side languages thanks for your help |
|
#2
|
||||
|
||||
|
Welcome to Dev Shed. Please visit the Rules/Guidelines forum before starting another thread. Your thread subject needs to better describe your problem. You even used a very similar title on your first thread from February.
Your problem is really a PHP settings issue and/or a mail server issue. Basically, the outgoing mail server that PHP is trying to connect to is not allowing you to send mail accross it b/c it's configured to not allow "relaying." In php.ini (location can be found via phpinfo()), there are SMTP settings. Find those and post them.
__________________
# Jeremy Explain your problem instead of asking how to do what you decided was the solution. |
|
#3
|
|||
|
|||
|
Look at the smtp settings in the IIS smtp server if that's what you're using for mail. There are various settings that will affect mail sending and relaying.
__________________
====== Doug G ====== "Hide, hide witch! The good folk come to burn thee. Their keen enjoyment hid behind their gothic mask of duty." -Mark Clifton |
|
#4
|
|||
|
|||
|
Thank you Jeremy, Iam heavily relay on translating english word by word from dictionary resulting out of context time to time.
I didn't even aware of making two subjects the same ...sorry this is what i found from phpinfo(); SMTP: local value =localhost master value =localhost SMTP_port: local value=25 master value=25 Tons of information there but thats all about SMTP, hope this makes any sense to you Also thanks to Doug, I will try to look at the IIS SMTP Lodovikus |
![]() |
| Viewing: Dev Shed Forums > System Administration > IIS > Mail relay error when sending email using IIS on XP Pro |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|