Sending Confirmation

Results 1 to 2 of 2

Thread: Sending Confirmation

  1. #1
    Mohammed Guest

    Default Sending Confirmation

    How can I send an e-mail to someone who has filled out automatically through ASP.

  2. #2
    Rob Guest

    Default RE: Sending Confirmation

    It&#039s fairly easy using CDONTS.<BR>Since you have all the variables you inserted into the db you probably have data like NAME, EMAIL, etc.<BR>After you inserted the users&#039 information into your database you can do something like this:<BR><BR>&#060;%<BR>Dim MyMail<BR>Set MyMail = Server.CreateObject("CDONTS.NewMail")<BR>MyMail.Fr om = ""<BR>MyMail.To = ";" or variable EMAIL<BR>MyMail.Cc = ";"<BR>MyM ail.Bcc = ";"<BR>MyM ail.Subject = "sending email via CDONTS NewMail"<BR>MyMail.BodyFormat = 1 &#039body of message is plain text<BR>MyMail.MailFormat = 0 &#039indicates the objuct is MIME<BR>MyMail.Importance = 2 &#0390=low 1=normal 2=high<BR>MyMail.Body = "Sending email with CDONTS NewMail" &_<BR> "objects is easy! Try it!"<BR>MyMail.Attachfile "c:pathsmiley.gif", "smilefile.gif", 1<BR>MyMail.Send<BR>Set MyMail = Nothing<BR>%&#062; <BR><BR>Regards,<BR>Rob

Posting Permissions

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