Announcement

Collapse
No announcement yet.

Performance Alert by mail on W2003

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Performance Alert by mail on W2003

    I need to send Performance alerts by mail on Windows 2003 i found a script on this article, but how can i say it who is my mail server???
    Or someone knows the way to do it?

    http://www.petri.com/send_mail_from_script.htm


    Set objEmail = CreateObject("CDO.Message")
    objEmail.From = "[email protected]"
    objEmail.To = "[email protected]"
    objEmail.Subject = "Server is down!"
    objEmail.Textbody = "Server100 is no longer accessible over the network."
    objEmail.Send

  • #2
    Re: Performance Alert by mail on W2003

    If you have Exchange or another email server, put its IP in
    If you dont, install the SMTP service on a server and use that
    Tom Jones
    MCT, MCSE (2000:Security & 2003), MCSA:Security & Messaging, MCDBA, MCDST, MCITP(EA, EMA, SA, EDA, ES, CS), MCTS, MCP, Sec+
    PhD, MSc, FIAP, MIITT
    IT Trainer / Consultant
    Ossian Ltd
    Scotland

    ** Remember to give credit where credit is due and leave reputation points where appropriate **

    Comment


    • #3
      Re: Performance Alert by mail on W2003

      The script you show requires a SMTP server installed on your local machine.

      Please, see "Sending a text email using a remote server".
      Use the IP address of the Exchange Server running the Edge Transport server role on your network. You don't have to use authentication against the exchange server. You can only send to exchange e-mail addresses unless you allow relaying. The senders address doesn't have to be an existing addres.
      If you use the an external SMTP server (i.e. at your ISP) you might have to use authentication against the SMTP server.


      \Rems
      Last edited by Rems; 13th October 2010, 17:40.

      This posting is provided "AS IS" with no warranties, and confers no rights.

      __________________

      ** Remember to give credit where credit's due **
      and leave Reputation Points for meaningful posts

      Comment

      Working...
      X