Click here to Skip to main content
15,889,556 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello Everyone,

I am working on one web application,where user fills up form details,clicks submit.on clicking,mail will be sent to 'A'.A will have two links X and Y,when he clicks X then some reply to the sender should be sent,same for Y.....
my question is how to set such functionality on clicking the link?Can anyone explain me the same as i have no idea how to complete this....Any help would be greatly appreciated.
Posted
Comments
Nandakishore G N 29-Jan-13 3:39am    
what have you done till now paste it?
Thanks7872 29-Jan-13 3:43am    
i have mailed successfully with links,but now to do what?i dnt know the flow?i wana do such that,for example xyz@gmail.com has send the mail to nandkishore@gmail.com,then nandkishore will receive mail with two links,approve disapprove.onclicking the approve link,mail reply to xyz@gmail.com should be sent with etc etc text...can you help me in this regard.....

use QueryString for this.For example User A send a mail which contain two links like

applicationUrl?userId=sender1[^]
applicationUrl?userId=sender2[^]

from the load method check a condition whether the querystring["userId"]!=null like below

C#
if(querystring["userId"]!=null)
{
string sender=querystring["userId"];
//Send the mail
}


hope this helps
 
Share this answer
 
You can do this by sending a querystring with some parameters like email id and username of user through email. and when user clicks on link(on email) then the page redirects to some page (i.e. sendmail.aspx of your web application). on this page write code to send reply to the user in respected email id which is coming through querystring. for ex


<a href="http://www.yourwebapp.com/sendmail.aspx?email=gp.ashi@gmail.com&username=ashi">Click me for verify</a>


Thanks
 
Share this answer
 

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