2010年9月15日 星期三

SQL Job 要設定 Mail 通知失敗或成功

除了DBMail 的 Profile 要設定, 建立 Operator 外,
SQL Agent Property 中Alert system 也要在 Mail Session  Enable E-Mail profile.

在 SQL Server Management Studio 中選擇 SQL Server Agent , 按右鍵選[Property]
=>[Alert system]
  1. Mail Session  => 勾選 Enable E-Mail profile.
  2. Mail System 選 Database Mail , Mail profile 選自己設定好的 profile.
詳細請參照此連結 http://www.mssqltips.com/tip.asp?tip=1523
http://hoolihome.blogspot.com/2010/04/sql-2005-job-mail.html

沒有留言:

張貼留言