Saturday, April 16, 2011

Sending E-mail to All List of Membership Users with ASP.Net Built-in Membership API

Sending E-mail to All List of Membership Users with ASP.Net Using Built-in Membership API



ASP.Net has a very powerfull built-in membership api and it has all the things we need;

  • User Management
  • CRUD (Create, Read, Update & Delete) of Membership Model
  • User approvement
  • Changing password
  • Recovering password

And the other things. Also, it is safe to say so many developer use this magical thing. 

The registered users are so important to our company and we want to let them know we live and our new things once in a while. As a result, newsletters' main purpose is that.

But how can we send e-mail to all of the registered users inside our magical Membership SQL Database? There are some ways but here we will see the simple and most useful way. We will be talking to database of course in order to get the e-mail addresses but we won't be directly talking to membership database. ASP.Net has already done that for us. 


No comments: