Raj said:
I am not able to find syntax for mailto, I am not sure what those
switches mean. I would be really grateful to you if you give me a
sample batch file where in
psshutdown -f-r-l fails it should send mail to me.
when i type c:\utils\mailto.exe it says unknown request method.
I know I am really dumb, I appreciate your patience
I suspect that getting this facility off the ground may be
outside your current field of experience. Your best bet
might be to ask a friend to assist you, someone who is
familiar with batch files. He should be able to provide
answers to these questions:
- Where does the message "Unknown request method"
come from? I have never seen such a message. Did you
translate it from some language other than English?
- What do you get when you start a Command Prompt
and type this command:
c:\>dir c:\utils\mailto.exe
Here is what you should see:
Volume in drive C is System
Volume Serial Number is 704E-AB54
Directory of C:\Utils
22/05/1998 19:45 60,928 mailto.exe
- If mailto.exe exists in the folder c:\utils and if it is
the command line mailer shown above then the command
c:\utils\mailto.exe must produce this output rather than
the message "Unknown request method":
Usage: mailto options
mailto v1.6 Copyright (c) 1998 Scott Beasley
Options are:
-U sender id -D user ids -H smtp_host
[-S subject] [-R Return path]
[-M Message] [-MF Message file name]
[-CC user ids] [-BCC user ids]
[-AB Binary file names] [-AT Text file names]
[-C config file] [-I section name]
[-RC retry count] [-RW seconds to wait between each retry]
[-DEBUG] [-N user id]
Please post again after receiving assistance from your friend.