cancel
Showing results for 
Search instead for 
Did you mean: 

Service unavailable error when running ASP script

jmobrunner
Member

Hi,

 

I was very happily running an ASP script  on our Advanced Hosted package, it was enabled  in the control panel (and still is).  The script worked fine, but now (as of a few days ago), I get an error: "Service Unavailable" displayed in the browser window.

 

The opening of the script is:

 

Set Mailer = Server.CreateObject("SMTPsvg.Mailer")

 

Mailer.RemoteHost  = "localhost"

 

Any ideas?

 

 

3 REPLIES 3

jmobrunner
Member
By the way, the domain is aippi.org.uk

jmobrunner
Member
Anyone able to reply to this?  Thanks!

spank
Grand Guru

Remote host set as localhost would have been using IIS on your own PC.

 

try setting Mailer.RemoteHost  = "localhost" to Mailer.RemoteHost  = "mail.yourdomain.com"

 

Thanks