Solved

EMail in ASP.NET

Posted on 2008-10-13
2
182 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

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…
Thoughout my experience working on eCommerce web applications I have seen applications succumbing to increased user demand and throughput. With increased loads the response times started to spike, which leads to user frustration and lost sales. I ha…
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…
Learn how to set-up custom confirmation messages to users who complete your Wufoo form. Include inputs from fields in your form, webpage redirects, and more with Wufoo’s confirmation options.

930 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now