Sending Email

Results 1 to 2 of 2

Thread: Sending Email

  1. #1
    Join Date
    Dec 1969

    Default Sending Email

    I have a form that a user fills out. I want to sent the content of the form to a email adress. How do I do that?

  2. #2
    al dawg Guest

    Default RE: Sending Email

    providing you&#039re on an NT server which supports cdonts:<BR><BR>Dim objCDO<BR>Set objCDO = Server.CreateObject("CDONTS.NewMail")<BR><BR>&#039 This code assumes the above CDO <BR>&#039instantiation code is included<BR><BR>objCDO.To = ""<BR>objCDO.From = Request.Form("email")<BR> = ""<BR>objCDO.Subject = Request.Form("subject")<BR>mailbody = "TEXT OF YOUR MESSAGE "<BR>objCDO.Body = mailbody (or Request.Form("body") can work also)<BR>objCDO.Send<BR><BR>set objCDO = nothing

Posting Permissions

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