Click here to Skip to main content
15,879,184 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello,

I am trying to send a mail using send-it-quite utility from a batch file. The content of the mail has a hyperlink to a html page with query string. HTML page has java script that use the query string values for some display.

I am using anchor tag to construct the hyperlink and sending the mail as below

C#
c:\send_mail\senditquiet.exe <mail server details> -subject "Test mail..." -body "**<a href="file://\\Shared_Folder\XX\YY\Log\html\HTMLPage2.htm?comp=FOO&id=2014-05-27_16-16-46">Click</a>"**


Problem: When the mail is received, on clicking on the hyperlink a browser is opened but the URL does not contain the query string. It is just till
C#
file://\\Shared_Folder\XX\YY\Log\html\HTMLPage2.htm


Please help!
Posted
Updated 11-Jun-14 22:57pm
v2
Comments
[no name] 19-Jun-14 6:28am    
Please share your complete code. There is an issue with string formatting.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900