Introduction
To build high-trafficked scalable web applications, it is recommended not to stuck your email code in the application code. Instead, we can use SQL Server to send all messages and emails. In this article, we will see how to configure your SQL Server 2008 to send emails.
Step 1 :
First of all you need to start SQL Server Management Studio.
And right click on Database Mail and click Configure Database Mail.

Next step setup database mail.
Step 2
Now you have to add profile name and profile description and click Add
Step 3
Now you have to enter account details and click OK.
Step 4

Click Next 
Click Next
Click Next and Finish

Now profile and account has been created well now time to configure database
mail. To configure database mail first we have to enable database mail XPs
parameter using sp_configure stored procedure.
Now time to send mail.
To track the mail status and log status execute
this query.


Omid NasriPosted Mar 21, 2016, 10:26 PM EDT
thx
LEKI MarkusPosted Dec 13, 2014, 3:08 AM EST
thanks you!
Proganesh JaiPosted Jan 19, 2014, 9:55 PM EST
thanks to all
Proganesh JaiPosted Jan 19, 2014, 9:55 PM EST
super
Suman KumarPosted Sep 16, 2013, 4:36 AM EDT
How To configure it using Visual Studio.
Suman KumarPosted Sep 16, 2013, 4:35 AM EDT
I Want Configure It programatically.
sarfaraj mdPosted Mar 8, 2013, 9:23 PM EST
nice............
kiquenet kiquenetPosted Dec 12, 2012, 12:10 PM EST
Great!! Any sample send attachment using DatabaseMail and C# .NET ? Maybe using SMTP Dev for testing http://smtp4dev.codeplex.com/
Amit PatelPosted Sep 16, 2012, 11:42 PM EDT
Good One Raj.
Devinder KumarPosted Aug 13, 2012, 11:18 PM EDT
very intresting or usable thing
sonu singhPosted Aug 9, 2012, 2:30 AM EDT
really a usable thing......