Performance Alert by mail on W2003

Home Forums Scripting Windows Script Host Performance Alert by mail on W2003

This topic contains 2 replies, has 3 voices, and was last updated by Rems Rems 9 years, 2 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • Avatar
    OKley
    Member
    #151451

    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

    Avatar
    Ossian
    Moderator
    #182944

    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

    Rems
    Rems
    Moderator
    #227866

    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

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.