?
Solved

How do I send email alerts to users through either a web site or SQL?

Posted on 2009-05-07
2
Medium Priority
?
163 Views
Last Modified: 2012-05-06
I have build a C# web site using visual studio 2008. I am using an asp.net 3.5 listview control on my frontend to display data from my SQL Server 2005 backend database. I am using both linq and sql datasources throughout my web site. I have recently built a page within my web site containing a ReportViewer control bound to an objectdatasource to display reports to my users depending on filters they set through drop down list and textbox controls on the pages frontend. What I now need to do is some how send email alerts to my users when certain dates are approching (say one month before) within my backend database. What would be the best way to achieve this functionality? SQL Mail? Some sort of web based asp.net mail control?

Any help would be appreciated.
0
Comment
Question by:Shepwedd
[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
2 Comments
 
LVL 31

Expert Comment

by:RiteshShah
ID: 24323865
well after seeing your situation, I recommend you to go for SQL mail, may be set a JOB for atomization.
0
 
LVL 31

Accepted Solution

by:
RiteshShah earned 2000 total points
ID: 24323902
setup email in database:
http://www.sqlservercentral.com/articles/Administration/introtodatabasemailinsql2005/2197/


After setting up email, send an email from SQL Server:
http://articles.techrepublic.com.com/5100-10878_11-6161839.html

once testing the email stored procedure whether it works, set it in JOB, you have to customize you logic based on your requirement.
http://www.ideaexcursion.com/2009/01/05/configuring-sql-server-agent-operators/


0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

Introduction In the following article I’ll be discussing and demonstrating several different ways of how images can be put on a report. I’m using SQL Server Reporting Services 2008 R2 CTP, more precisely version 10.50.1352.12, but the methods ex…
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

762 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