-
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 ?
-
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
%>
-
<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
-