Hi,
We are using SQL 2000 on Win 2000 Server. We are at SP2 for windows 2000
and SP2 for SQL 2000. We have a requirement wherein, We have to send a mail
or a page to a set of addresses if the database bacup job fails. This has to
accomplished without configuring or using SQL Mail. I was taking a look at
the KB articles about achieving this. I found a very helpful KB article
titled 'HOW TO: Send E-Mail Without Using SQL Mail in SQL Server' which
suits my requirement just fine. As per this article it is achieved thru a
stored procedure created on Master db. But to tailor the code to suit my
situations, I think, I have to change the following lines in SP code that is
in the KB article:
-- This is to configure a remote SMTP server. I just wated to make sure I am proceeding in the right direction or not. As Thanks Raghuveer S
--
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cdos...
'Configuration.fields("http://schemas.microsoft.com/cdo/configuration/sendus
ing").Value','2'
-- This is to configure the Server Name or IP address.
-- Replace MailServerName by the name or IP of your SMTP Server.
'Configuration.fields("http://schemas.microsoft.com/cdo/configuration/smtpse
rver").Value', 'MailServerName'
---------------------------------------------------------------------------
---------------------------------------------------------------------------
---
per my understanding the only change that I have to make is to replace the
string 'MailServerName' with a fully qualified servername or IP address of
the SMTP server that I will be using for the purpose of sending the mail in
the line underlined. I wanted to get opinions and feedback from guys having
tried this solution successfully. An early response would be very much
appreciated.