Sending E-Mails Via Form and Sorting

Results 1 to 2 of 2

Thread: Sending E-Mails Via Form and Sorting

  1. #1
    Join Date
    Dec 1969

    Default Sending E-Mails Via Form and Sorting

    How would I be able to send form information via e-mail?<BR><BR>As in, client types in information in form, hits submit, and it is sent to me.<BR><BR>And how would I sort data by two variables. <BR>Ex: First by Grade, then by Last Name. <BR><BR>Thanks,<BR><BR>Matt

  2. #2
    Barry Guest

    Default RE: Sending E-Mails Via Form and Sorting

    you can either use the following in the forms action :<BR>action="mailto:emailaddy"<BR>this is the easiest way but also less efficient<BR>or you can<BR>use the CDONTS object :<BR>set objMail = Server.CreateObject("CDONTS.Newmail")<BR>objMail.T o = toaddress<BR>objMail.From = fromaddress<BR>objMail.Subject = subject<BR>objMail.Body = message<BR>objMail.Send<BR>set objMail = nothing<BR> <BR>this works if you have permissions to use the server&#039;s smtp service<BR><BR>else you can download formmail.cgi from who knows where.<BR><BR>Hope this helps<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