Forum Replies Created

Viewing post 1 (of 1 total)

  • RE: IF Statement for sending email via Database mail

    IF (--statement here)

      EXEC msdb.dbo.sp_send_dbmail
      @profile_name = '--db mail profile',
      @recipients = '--email addresses',
      @subject = '--email subject',
      @body = '--email body',
      @execute_query_database = '--db name',
      @query =...

Viewing post 1 (of 1 total)