linux-l: Attachments über sendmail-command
Philipp Grau
phgrau at ZEDAT.FU-Berlin.DE
Mo Mai 3 10:26:14 CEST 1999
Hallo!
On Sun, May 02, 1999 at 01:28:17AM +0200, Jan wrote:
> wie kann ich am besten aus einem tcl-script eine mail mit einem solchen
> attachment versenden, bzw. welche options benutze ich beim sendmail-command?
Mit mutt (E-Mail-Client) gehts auf jedenfall bequem:
echo "Voicemail fuer dich" | mutt -s "Hier ist die Voicemailbox" -a vbox-19990502 harald at schmidt.de
-s Subject
-a Attached file
Vorteil hier ists dann ein Attachment
Andere Variante:
uuencode vbox-19990502 < vbox-19990502 | mail -s "Voicemailbox" harald
Nachteil ist kein sauberes Attachment sondern muß mut uudecode erst
wieder in das vbox-File zurückgebaut werden.
Schau die auch nochmal metamail und metasend an, sind evtl. auch hilfreich!
Philipp
--
We had joy, we had fun, | we had Pacman on the sun...
Mehr Informationen über die Mailingliste linux-l