using System.Net;
using System.Net.Mail;
public class SQLCLREmail
{
[Microsoft.SqlServer.Server.SqlProcedure()]
public static void SendEmail(string recipients, string CC, string BCC, string subject, string @from, string body, string strAttachments, string strSMTPServer, string strSMTPServerPort, string strSMTPServerUser,
string strSMTPServerPwd)
{
using (MailMessage MailMsg...