Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- USE [msdb]
- EXEC [sp_send_dbmail]
- [ @recipients = 'myemail@mail.com' ]
- ,[@profile_name = 'Reports']
- ,[ @from_address = 'myemail@mail.com' ]
- ,[ @reply_to = 'myemail@mail.com' ]
- ,[ @subject = 'Warning' ]
- ,[ @body = 'Test Email.' ]
- ,[ @mailitem_id = mailitem_id [ OUTPUT ]
Add Comment
Please, Sign In to add comment