Results 1 to 4 of 4

Thread: sending mail

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Sep 1999
    Location
    London, England
    Posts
    213
    I am using the code below to allow people to send mail on my page. It completes the To: field and Subject: field

    <BODY>

    <FORM>
    <INPUT TYPE="button" VALUE="Feedback" onClick="parent.location='mailto:[email protected]?subject=Check out this page !'">
    </FORM>

    This works fine, but how can I amend this so that I can place a URL in the content area of the e-mail ?


  2. #2
    Addicted Member
    Join Date
    Jan 1999
    Posts
    173
    You really should use something a little more professional than that, such as Microsoft's Collabrative Data Objects through ASP:

    <%
    Set CDO = Server.CreateObject("CDONTS.NewMail")
    CDO.Subject = "subject"
    CDO.To = "toemail"
    CDO.From = "me!"
    CDO.Body = "This is the body"
    CDO.Send
    %>
    "To the glory of God!"


  3. #3
    Lively Member
    Join Date
    Dec 1999
    Location
    Karlsruhe, Germany
    Posts
    122
    <BODY>

    <FORM>
    <INPUT TYPE="button" VALUE="Feedback" onClick="parent.location='mailto:[email protected]?subject=Check out this page !'&body=Your body comes here">
    </FORM>


    Roger

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Sep 1999
    Location
    London, England
    Posts
    213
    Thanks guys

Posting Permissions

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



Click Here to Expand Forum to Full Width