AutoResponse Email Problem!

Results 1 to 2 of 2

Thread: AutoResponse Email Problem!

  1. #1
    Join Date
    Dec 1969

    Default AutoResponse Email Problem!

    After the user submitted a registration form and all his data store in access database, after that how can the system will automatic send him a confirmation email?<BR><BR>I can store all the data into database, but HOW can it auto send him a confirmation email!?

  2. #2
    Rahul Guest

    Default RE: AutoResponse Email Problem!

    You can use CDONTS object new mail for sending the mail after the data goes into database .You can call the following code after the databse is updated.<BR>Sub sendmail( fromWho, Subject, Body )<BR>Set myMail = Server.CreateObject( "CDONTS.Newmail" )<BR> myMail.From = fromWho<BR> myMail.To = ""<BR> myMail.Subject = Subject<BR> myMail.Body = Body<BR> myMail.Send<BR> Set myMail = Nothing<BR>End Sub <BR> <BR>Subject = "Problem"<BR>fromWho = Request.Form ("txtEmail")<BR>Body = "dear user Thank you for registration" <BR><BR>sendmail fromWho, Subject, Body<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