SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member phoenixfidelis66's Avatar
    Join Date
    Mar 2005
    Location
    Wilminton, NC
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question cdonts mail to jscript

    Am looking for help in converting a CDONTS mail form script, which is not supported by my new host, into jscript. I have no fromal training in programming etc... Have self taught myself enough to probably get myself in trouble The following script i had written about 6 years ago for automated webimport intomy CRM "Goldmine" for populating database fields. Anyway, here is my old, and now worthless script...

    <%
    set objMail = CreateObject("CDONTS.NewMail")

    objMail.To = "{$GM-WEBIMPORT$} <" + request.form("email") + ">"

    objMail.From = request.form("cs1_ContSupRef")

    objMail.Subject = "AvantLabels.com request for more information"

    objMail.Body = "[Data]" + chr(13) + "Dear="+request.form("dear") + chr(13) + "Company=" + request.form("Company") + chr(13) + _
    "Contact=" + request.form("contact") + chr(13) + "Title=" + request.form("title") + chr(13) + _
    "Address1="+request.form("address1")+chr(13) + "Address2="+request.form("address2") + chr(13) + "City=" + _
    request.form("city") + chr(13) + "State=" + request.form("state") + chr(13) + "zip=" + request.form("zip") + chr(13) + "Country=" + _
    request.form("country") + chr(13) + "Phone1="+request.form("phone1") + chr(13) + "Fax="+request.form("fax")+chr(13) + _
    "Source="+request.form("source")+chr(13) + "uacctpotl="+request.form("uacctpotl") + chr(13) + "key1="+request.form("key1") + chr(13) + "key2="+request.form("key2") + chr(13) + _
    "key3="+request.form("cs4_ContSupRef")+chr(13) + "notes="+request.form("notes")+chr(13) + "Userdef04="+request.form("userdef04") + chr(13) + _
    "Userdef05="+request.form("userdef05") + chr(13) + "[ContSupp]" + chr(13) + "cs1_rectype=P" + chr(13) + _
    "cs1_contact=E-mail Address" + chr(13) + "cs1_contsupref=" + request.form("cs1_ContSupRef") + chr(13) + _
    "cs2_rectype=P" + chr(13) + "cs2_contact=Web Site" + chr(13) + "cs2_contsupref=" + request.form("cs2_ContSupRef") + chr(13) + _
    "cs3_rectype=P" + chr(13) + "cs3_contact=Preferred Method of Contact" + chr(13) + "cs3_contsupref=" + request.form("cs3_ContSupRef") + chr(13) + _
    "cs4_rectype=P" + chr(13) + "cs4_contact=Reason for Interest" + chr(13) + "cs4_contsupref=" + request.form("cs4_ContSupRef")

    objmail.Send

    set objmail = NOTHING



    %>

    Can someone please assist????

  2. #2
    Is Still Alive silver trophybronze trophy RetroNetro's Avatar
    Join Date
    Jul 2003
    Location
    Texas
    Posts
    6,883
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Hello

    This forum is for questions concerning this community. A Moderator will move this to a more appropiate forum so it will be see by the people who know the answer


Bookmarks

Posting Permissions

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