Kunal Das


SQLServerCentral Article

Using Xp_sendmail With the Recipients Generated From a Query

Xp_sendmail is a great utility that SQL Server provides in order to e-mail messages directly from SQL Server, by using a valid MAPI profile. However, its syntax is rather stringent. In this article by Kunal Das, he shows you how to send messages to a list of recipients generated by a query dynamically in T-SQL.

2007-10-02 (first published: )

23,692 reads

Blogs

Community Tools Month 2022 - dbatools

By

The Prompt In July, Brent Ozar (blog | twitter) asked us to make September...

Storytelling with Data – Enertia User Conference 2022

By

Thank you to everyone who attended my session at the Enertia User Conference in...

Daily Coping 30 Sep 2022

By

Today’s coping tip is to find a new way to use one of your...

Read the latest Blogs

Forums

How Important is Software?

By Steve Jones - SSC Editor

Comments posted to this topic are about the item How Important is Software?

How and where did you learn SQL from?

By VladBar

Could you give me advice on where I should learn SQL and Python to...

Save Query Results to Excel and Automatically run it

By anonymous

Hello,   I have a very simple query Select * from Employees where company...

Visit the forum

Ask SSC Logo Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers