Solved

EMail in ASP.NET

Posted on 2008-10-13
2
193 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

Question has a verified solution.

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

Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
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…

690 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