Click here to Skip to main content
15,867,686 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have to sent an email to all users who registered in a registration form by using SQL SERVER MVC.

What I have tried:

I am a newbie in this field so I don't know much about it.
Posted
Updated 10-Feb-21 4:00am

This is not a task a newbie can handle. There are lots of pieces to it and you'll need to learn all the different parts.

For example, what kind of app will you be writing? A windows forms app? Console app? A web app? Or will this just be a one time thing?

It may be easier for you to export from sql and use mailchimp or some other service.

If you write code you need to use SqlConnection and SqlCommand objects. You can google how to read records from sql using c#.

Then you need a mail server. And then google c# smtp to see how to send an email.

Or, hire someone to do it for you.
 
Share this answer
 
I know how to use sqlconnection and sqlcommands. I have already ddone this like when a user enters there information in the registration form it will be recorded into the database. It's for a website
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900