This topic is locked

Email Record

11/11/2004 6:05:46 AM
ASPRunnerPro General questions
E
eleka author

Hello,
Is there a way once I pull up a record to add a button on the bottom of the record detail that will allow me to email a record to and individual. So once I click on the butoon it would open outlook or email client enter the record information in the body. I can fill out the to and subject fields.

admin 11/12/2004

Hi,
you can use something like this to create a link that opens outlook with predefined subject and body:

<%

Reponse.Write "<a href=""mailto:" & rs("email") & "?subject=" & rs("subject") & "&body=" & rs("body")  & """>Send email</a>"
%>