Solved

EMail in ASP.NET

Posted on 2008-10-13
2
184 Views
Last Modified: 2013-12-17
Hello,

I have a request where , user once registered gets and email.And when he follows the link, the Account should be Activated. I can send the email and he can follwo the link.But how to validate the user when he comes back with my Website.
How can I flag his response in Database.
One more thing, I need the body in my message's need some Breaks like html<br> in C#.
Thanks
0
Comment
Question by:DevIndian
2 Comments
 
LVL 5

Accepted Solution

by:
varungd earned 500 total points
ID: 22708563
While sending a link to user u can send his userid as querystring with that URL and u can use that id for validation.
U can use html tags in message body
 eg:
MailMessage mail = new MailMessage();
mail.Body = "Test<br />mail";
 
0
 

Author Comment

by:DevIndian
ID: 22708794
Really good one's
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If I have to fix slow responding website my first thoughts are server side optimizations: the database may not be optimized or caching is not enabled, or things like that. We often overlook another major part of our web application: the client. We o…
Introduction A frequently used term in Object-Oriented design is "SOLID" which is a mnemonic acronym that covers five principles of OO design.  These principles do not stand alone; there is interplay among them.  And they are not laws, merely princ…
This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to choose which pages of your form are visible to your users based on their inputs. The page rules feature provides you with an opportunity to create if:then statements for y…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question