On Sun, 28 Feb 1999, Andreas Schlapbach wrote:
> 
> Noch eine einfache Frage: Wie sendet man ein Mail aus einem batch
> Programm?

echo "$BLAH" | mail -s "$SUBJECT" $ADDR $ADDR2
cat $TEXTFILE | mail -s ...

man mail:
------------------------------------------------------------
[ ... ]
Sending mail
 To send a message to one or more people, mail can be invoked with argu-
 ments which are the names of people to whom the mail will be sent.  You
 are then expected to type in your message, followed by an `control-D' at
 the beginning of a line.  The section below Replying to or originating
[ ... ]
------------------------------------------------------------

Keiner hat je gesagt, dass Du das selbst eintippen MUSST.
Der Text der Manpage sieht doch sehr verdaechtig nach "Lesen
von stdin bis EOF" aus.


Gerhard Sittig
-- 
If you don't understand or are scared by any of the above
        ask your parents or an adult to help you.

empty subject, richtext, vcard, HTML messages > /dev/null

--
Um aus der Liste ausgetragen zu werden, eine Mail an [EMAIL PROTECTED]
schicken, mit dem Text: unsubscribe suse-linux

Antwort per Email an