Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 204
  • Last Modified:

EMail in ASP.NET

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
DevIndian
Asked:
DevIndian
1 Solution
 
varungdCommented:
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
 
DevIndianAuthor Commented:
Really good one's
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now