2 Added dbms tag
| link
1
source | link

Send email from SQL Server

I need to send email from SQL Server SP. Until now I used sp_send_cdosysmail. Is it better to use sp_send_dbmail? And the main question - which mail server is used by sp_send_dbmail - is it configured somewhere?