Sending email with ASP

Results 1 to 2 of 2

Thread: Sending email with ASP

  1. #1
    Mark Berkheimer Guest

    Default Sending email with ASP

    I want to be able to send a simple email to an address when someone presses the submit button. Right now, when you press submit it runs an ASP called Process.ASP which writes data to a database. I want that asp to send me an email so I know to go check the new addition.<BR><BR>Thanks

  2. #2
    Rob Guest

    Default RE: Sending email with ASP

    Mark:<BR><BR>If you have smtp service installed in the server you can use <BR>CDONTS <BR><BR> Set objMail = Server.CreateObject("CDONTS.NewMail")<BR> objMail.From = ""<BR> objMail.Subject = "A message TO you"<BR> objMail.To = ""<BR> objMail.Body = "This is the body of the Message"<BR> objMail.Send<BR><BR>Rob Taylor<BR><BR><B R>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts