Using Mailer on LocalHost (Full Version)

All Forums >> [Web Development] >> ASP and Database



Message


yisraelharris -> Using Mailer on LocalHost (1/12/2004 4:52:53)

I have used Mailer successfully on websites before. This time, I am trying to run my Mailer code on localhost, with IIS.

This line, which in general works, is now generating an error message:

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

What I've tried so far:

set Mailer = Server.CreateObject("SMTPsvg.Mailer")
set Mailer = Server.CreateObject("CDONTS.NewMail")
set Mailer = Server.CreateObject("localhost")

I don't know if I should be trying something else, if I have to do something beyond the actual code, or if it is simply not possible to have mailer working on iis/localhost.

Solutions welcome. Thank you.




Spooky -> RE: Using Mailer on LocalHost (1/12/2004 14:13:19)

What OS? you may not have those components.
You may be able to use your existing host smtp address, it depends what sort of relaying they allow.
Otherwise, you may just locate the mail in the pickup directories.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.03125