Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_cdo thread: Re: ASP Mailer


Message #1 by "Krishna K Khatri" <zipcn046@i...> on Tue, 21 Aug 2001 06:30:50
Dear Kalyan, hello.

I am not sure about the type of problem you are facing. Please write down 

the entire ASP code you are using to send mails. Then only I will be able 

to help you out. Hopefully you will be using the following code...



Set objMail = Server.CreateObject("CDONTS.NewMail")

objMail.From = Request.Form("FromUser")

objMail.To = Request.Form("ToUser")

- - - - - - - - - - - - - - - - - 

- - - - - - - - - - - - - - - - -

- - - - - - - - - - - - - - - - - 

- - - - - - - - - - - - - - - - - 

- - - - - - - - - - - - - - - - - 

objMail.Send

Set objMail = Nothing



Besides this you also need to configure SMTP server that is present in the 

default IIS installation (v4.0 in case of Windows NT 4.x and v5.0 in case 

of Windows 2000). Just set the default settings, that you may find under 

the IIS manual or any online site providing such information on IIS. One 

site offering solutions on IIS is www.iishelp.com This site will give you 

engough exposure to solve out your problems regarding IIS.

Hope this will solve your problem.



Regards,

Krishna K Khatri

zipcn046@i...



> Hi Folks, 

> 

> I know there is a lot on ASP mailers being asked. In fact I am facing 

the 

> same problem too of creating a html form mailer. I surfed thro the 

> Microsoft Web Site and found this article which describes in detail 

about 

> how to send email using asp. The link is 

> 

> http://msdn.microsoft.com/library/default.asp?url=/library/en-

> us/dnasdj99/html/asp9951.asp

> 

> I tried this out with the html and the asp page and I get no error 

> message. Things seem to work fine except that no mail is received at 

all.. 

> Well does'nt solve the purpose. I don know where I am going wrong or is 

> there something more to it than just this cos I don get any errors. Any 

> help or suggestions in this regard would be grately appreciated. 

> 

> Thanks

> 

> -Kalyan. 


  Return to Index