Announcement

Collapse
No announcement yet.

simple script help

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

  • simple script help

    Hello everybody.

    My quastion is :
    I need to write simple script in the batch file from 4 commands.
    The problem is that sometimes heppened something that we cant get our mail and all the mail stored in the ISP mail server. So in the morning when I am coming I am connecting by telnet to ISP mail server and release all mail.I want that one user that always first in the company will be able to do this and not wait for me.
    following commands
    cmd
    telnet mailgw.domain.com 25
    helo a
    etrn domain2.com
    Thanks

  • #2
    Re: simple script help

    What do you use as your mail server?

    If you use exchange you can set it to automatically do this for you.

    Otherwise, please the following into a text file:

    "
    telnet mailgw.domain.com 25
    helo a
    etrn domain2.com
    "

    rename the file to connect.bat or something like that as long as it has an extension of .bat

    Then just run it.

    Hope this is what your after

    Michael
    Michael Armstrong
    www.m80arm.co.uk
    MCITP: EA, MCTS, MCSE 2003, MCSA 2003: Messaging, CCA, VCP 3.5, 4, 5, VCAP5-DCD, VCAP5-DCA, ITIL, MCP, PGP Certified Technician

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

    Comment


    • #3
      Re: simple script help

      This is a problem that when I am prepairing bat fil, executing only first command and the rest I have to input by my hends.
      Yes I am using exchange 2003, how exactly can I do it from Exchange
      Thx

      Comment


      • #4
        Re: simple script help

        take a look at the following:

        http://www.msexchange.org/tutorials/...Connector.html

        http://searchexchange.techtarget.com...228760,00.html

        Michael
        Last edited by m80arm; 10th January 2007, 11:31.
        Michael Armstrong
        www.m80arm.co.uk
        MCITP: EA, MCTS, MCSE 2003, MCSA 2003: Messaging, CCA, VCP 3.5, 4, 5, VCAP5-DCD, VCAP5-DCA, ITIL, MCP, PGP Certified Technician

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

        Comment

        Working...
        X