Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calling Application from Email Link

Status
Not open for further replies.
Mar 9, 2006
93
CA
I have a windows application that sends out an email to a person when it reaches the necessarry point. Inside the email there is a link to the application, when the user clicks this the application opens. My problem is I need to be able to send this application an argument on startup so when the user clicks this link the application will open, parse the argument and show the appropriate record (this is based on the argument sent). Does anyone know if this is possible. Thanks for you help.
Thanks
Matt
 
Well, it is "possible" but 99% of all security settings would disallow it. It's a massive security issue if a program can be executed from HTML - if its internal and your email clients allow it, this would probably do it:

file://C:\mypath\myapp.exe%20-arg1%20argtext

Where %20 represents a space in the path. Not tested this but it should work if nothing is there to disallow access.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top