To database and to e-mail

Results 1 to 2 of 2

Thread: To database and to e-mail

  1. #1
    cal Guest

    Default To database and to e-mail

    Hi -<BR><BR>Great site. I come here often. I was wondering anyone had or know of any ASP<BR>script that allows a user to enter data into a form and then when you click<BR>submit the data goes to a database but also gets sent via email to a user?<BR><BR>----<BR><BR><BR><BR>

  2. #2 Guest

    Default EMail component!

    You can send email via the built in CDONTS Sendmail component or you can use a third party component such as Jmail (<BR>or ASPMail.<BR><BR>It depends on what your ISP provides on the server. Here is a short sendmail example:<BR><BR>Dim myMail <BR>Set myMail = CreateObject("CDONTS.NewMail") <BR>myMail.From = "" <BR>myMail.To = "" <BR>myMail.Subject = "Sample Message" <BR>myMail.Body = "This is a sample message." <BR>myMail.AttachFile "d:sample.txt" <BR>myMail.Send <BR>Set myMail = Nothing <BR> <BR>You can use asp to process the same form variables that you send to your database.<BR><BR>

Posting Permissions

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