Page 1 of 1

console Mail exit

Posted: 2003-12-12 18:21
by lordi
Ich möchte auf Console ne Mail schreiben, also

Code: Select all

mail emailadresse@test.de
und wenn ich den body geschrieben habe komme ich aus dem "editor" nicht raus. die vi sequenzen gehen dort nicht.

jemand ein Tip??

und wie kann ich dort attatchmend anhängen?

TNx

strg-d

Posted: 2003-12-12 19:24
by preacher
mit strg-d verlässt man die eingabe und schickt die mail raus.

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
mail, describes some features of mail available to help you compose your
letter.
wie man attachments anhängt habe ich beim schnellen drüber gucken gerade nicht gefunden...

ciao,
preacher

Re: console Mail exit

Posted: 2003-12-12 22:46
by captaincrunch

Code: Select all

echo "Das ist, was ich schreiben will" | mail -s "Das ist der Betreff" empfänger@xyz.tld
und wie kann ich dort attatchmend anhängen?
Schau dir mal uuencode an.