Help..what's a good?

Results 1 to 2 of 2

Thread: Help..what's a good?

  1. #1
    Ashraf Guest

    Default Help..what's a good?

    does anyone have a code for a submit form.I am trying to get <BR>the info that were entered by the user, and email to me.<BR>the form has just last, first name and several check boxes. <BR><BR>Thanks in adanvce

  2. #2
    Join Date
    Dec 1969

    Default RE: Help..what's a good?

    in the page that is defined in the action of the form use :<BR><BR> get all the passed variables, and build the email<BR> <BR> strSubject = subject<BR> strBody= "put all your details here , the name ,...etc"<BR><BR> &#039 Create an instance of the NewMail object.<BR> Set objCDOMail = Server.CreateObject("CDONTS.NewMail") <BR> &#039 Set the properties of the object <BR> objCDOMail.From = strfrom<BR> objCDOMail.To = strTo <BR> objCDOMail.Subject = strSubject<BR> objCDOMail.Body = strBody<BR> &#039 Send the message! <BR> objCDOMail.Send<BR> <BR> &#039 Set the object to nothing because it immediately becomes<BR> &#039 invalid after calling the Send method.<BR> Set objCDOMail = Nothing <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