Print Page | Close Window

Passing variable to Outlook

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=22800
Printed Date: 29 March 2026 at 5:16am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Passing variable to Outlook
Posted By: jjda
Subject: Passing variable to Outlook
Date Posted: 28 February 2007 at 8:45pm
Hi, I am trying to pass a URL (as a variable) from an email link on a web page to outlook so that outlook opens and the URL is displayed in the message body. I know there is a way of passing the title, subject and body by coding them as part of the mailto link but I cannot find a way of doing the same using a variable instead of hard coding it. Thanks in anticipation. John



Replies:
Posted By: michael
Date Posted: 28 February 2007 at 10:38pm
<a href=mailto:""<%=AddressVariable%>?Subject=""<%=SubjectVariable%>"">Click here</a>


-------------
http://baumannphoto.com" rel="nofollow - Blog | http://mpgtracker.com" rel="nofollow - MPG Tracker


Posted By: michael
Date Posted: 28 February 2007 at 10:39pm
Argh. The quotes are messed up a bit.... Sure you can fix that yourself

-------------
http://baumannphoto.com" rel="nofollow - Blog | http://mpgtracker.com" rel="nofollow - MPG Tracker



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net