Page 1 of 1

Cannot email using local host

Posted: Sat Apr 29, 2006 4:59 am
by Dobson
Hi guys,

I'm trying to get my page to send an email to myself but not through my ISP just through the local host. I get this error

Warning: mail() [function.mail]: SMTP server response: 550 5.7.1 Unable to relay

I just want the page to send an email from my computer to my computer but not sure how to do it. I'm running IIS, Mysql on Win XP.

Thanks,
Rob.

Re: Cannot email using local host

Posted: Sat Apr 29, 2006 5:00 am
by Chris Corbyn
Dobson wrote:Hi guys,

I'm trying to get my page to send an email to myself but not through my ISP just through the local host. I get this error

Warning: mail() [function.mail]: SMTP server response: 550 5.7.1 Unable to relay

I just want the page to send an email from my computer to my computer but not sure how to do it. I'm running IIS, Mysql on Win XP.

Thanks,
Rob.
Looks like your smtp server is either being blocked or it's set up without localhost/127.0.0.1 as an allowed client.

Posted: Sat Apr 29, 2006 5:05 am
by Dobson
Thanks for replying!!

If you mean IIS/Defualt SMTP Virtual Server (Properties)/Access/Connection/ i've set 127.0.0.1 as an allowed user. Is there anything else I need to configure?

Posted: Sat Apr 29, 2006 5:15 am
by Dobson
Whoops! That should be Relay not Connection. I'll go in and change it... ... ... it worked! ah, silly me. thanks for your help d11wtq!