Send email to multiple receipants

  • Hello guys,

    I am having a table in my database where I am storing details of employee and manager as below.
    Empname ,ManagerName, ManagerEmail.

    I want to send Empnames to ManagerEmail. Here I want to send single mail along with all reported names as below

    Email Body is as below:
    The following employees are reporting you, Please acknowledged them.

    1.  Employee 1
    2.  Employee 2
    3.  Employee 3

    How can i implement this?

    Thanks,
    Abhas.

  • Not much to go on.

    You got your sample data, scripts and your mail routine?

    But wouldn't be to tricky to write a query to build up the @body value and pass it into sp_send_dbmail

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply