asp mail problem -- urgent

P

Prashanth

Hi,

I am trying to send a mail from the asp page. The page works fine
without error but i am not able to send any mails. I have set the To and
From Property to my email account. Is there any configurations i have to set
in IIS or anywhere else.

This is the code.

Set objMail = Server.CreateObject("CDONTS.Newmail")
objMail.From = "(e-mail address removed)"
objMail.To = "(e-mail address removed)"
objMail.Body = "Testing mail"
objMail.Send
Set objMail = Nothing

Thanx in advance
 
A

Alan

Is the virtual SMTP server running on the web server? If not, you can pick
up the outgoing emails from the C:\inetpub\mailroot\pickup folder on the
server.

Cheers,

Alan
 
T

Tom B

What kind of server is it? Does it have CDONTS?
Apparently Windows XP and Windows 2003 do not have CDONTS but rather CDO
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,185
Members
46,736
Latest member
AdolphBig6

Latest Threads

Top