how to make subscribe link in template [Resolved]

Posted by Pcjoshi under ASP.NET on 9/28/2012 | Points: 10 | Views : 844 | Status : [Member] | Replies : 5
hi.
how to make subscribe link when i am sending template and subscribe email address store in my database?




Responses

Posted by: Jigarbagadai on: 9/28/2012 [Member] Starter | Points: 50

Up
0
Down

Resolved
hello,

please find below example to resolve your issue.


string emailtemplate="email content and <a href='www.yoursiteurl.com/subscribepagename.aspx?uid=encryptuserid'>subscribe</a>". This e-mail template you are a sent in mail.

Now when user click on subscribe link from email they will redirect on subscribpagename.aspx.Now you only need to write code in subscribpagename.aspx page for insert userid in database which you received in querystring decrypt that id and store into database.

Jigar Bagadai

Pcjoshi, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Jigarbagadai on: 9/28/2012 [Member] Starter | Points: 25

Up
0
Down
Hello Pcjoshi,

To make Subscribe link you need to send one link with your mail template which refer you site url with encrypted used. When user click on that link it will comes to your site page, in that page you need to write logic of insert into database.

Let me know if you need more help for the same.

Jigar Bagadai

Pcjoshi, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Pcjoshi on: 9/28/2012 [Member] Starter | Points: 25

Up
0
Down
ya i need more help can you provide code .?

Pcjoshi, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Hariinakoti on: 9/28/2012 [Member] Starter | Points: 25

Up
0
Down
u have any sample code for that Mr.Jigatbagadai

Thanks & Regards
Hari

Pcjoshi, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Pcjoshi on: 9/29/2012 [Member] Starter | Points: 25

Up
0
Down
hello ,
i want to know how to encrypt and decrypt query string value?

Pcjoshi, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response