Solved

EMail in ASP.NET

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

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

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

Using Quotation Marks in PHP This question (http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/Q_28217211.html) seems to come up a lot for developers who are new to PHP.  And it got me thinking, "How can we explain the rule…
Foolproof security solutions has become one of the key necessities of every e-commerce or Internet banking website. If you too own an online shopping site then its vital for you to equip your web portal with customer security features that can allow…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

837 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