|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi all,
I am having major problems getting a very simple email page to work on my server (windows 2003 with iis 6 wunning .net 1.1). The code is standard .net mail library and works fine on my local machine however when I upload the system to my remote server I get 550 relay errors. I have looked all over the internet for fixes to this but none seem to make sense or work? When the code works locally it is set via my email account smtp server (smtp.myprovider.co.uk). { objSMTPServer.SmtpServer = "smtp.myprovider.co.uk" objSMTPServer.Send(objEmailMessage) } If somebody could provide me with a idiots guide to setting an IIS 6 server up with a SMTP service that allows emails to be sent through the standard .net librarys such that the smtpserver could be set to local host and would relay off to the relevant host I would be eternally gratefull. |
|
#2
|
|||
|
|||
|
Ok....
By Default the Relay in SMTP Service is blocked in IIS. Go to SMTP Properties -> Access -> Relay and select All except the list below radio button and that should fix the problem. ---------- Bhaski ---------- Register Domain Names for Less @ NetTicks.com |
![]() |
| Viewing: ASP Free Forums > System Administration > Microsoft IIS > IIS Smtp Relay Errors |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|