Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 Transact-SQL (2008)
 Send email with SQL Server or ASP.NET ?

Author  Topic 

paulnamroud
Starting Member

26 Posts

Posted - 2011-08-25 : 09:58:53
Hello,

I'm building an application with asp.net. And I need to send emails to selected customers.

What is the best way to send email: Is it by using System.Net Class (of ASP.NET) or to send it by using MS Sql Server ?


Thank you
Paul

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2011-08-25 : 12:26:18
use sp_send_dbmail
http://msdn.microsoft.com/en-us/library/ms190307(v=SQL.90).aspx

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
   

- Advertisement -