sys.sp_notify_operator
general #stored-procedure
Description
Sends an e-mail message to an operator using Database Mail.
Syntax
sp_notify_operator
[ [ @profile_name = ]
N
'profile_name'
]
[ , [ @id = ] id ]
[ , [ @name = ]
N
'name'
]
[ , [ @subject = ]
N
'subject'
]
[ , [ @body = ]
N
'body'
]
[ , [ @file_attachments = ]
N
'file_attachments'
]
[ , [ @mail_database = ]
N
'mail_database'
]
[ ; ]