Forum Moderators: open

Message Too Old, No Replies

Using Mailer on LocalHost

         

yisraelharris

9:49 am on Jan 12, 2004 (gmt 0)

10+ Year Member



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.

macrost

3:13 pm on Jan 12, 2004 (gmt 0)

10+ Year Member



What type of error message are you getting? Could you post that and your complete code if the message is a cryptic one?

Mac