[linux-l] Betreff hinzufuegen in emails

Ivan F. Villanueva B. iv at artificialidea.com
Sa Sep 23 17:42:11 CEST 2006


Am Fr, Sep 22, 2006 03:08:59 +0200, Philipp Grau schrieb:
> Hallo, 
> 
> * Ivan F. Villanueva B. <iv at artificialidea.com> [22.09.06 10:23]:
> > Hallo,
> > mit "remind -c+2 | msmtp ivan at artificialidea.com" schicke ich mir ein
> > Email mit den Terminen von den nächsten 2 Wochen.
> > 
> > Könnte jemand mir schnell sagen, wie ich noch einen Betreff in den Email
> > hinzufügen kann?
> 
> 
> Also wenn dein msmtp so funktioniert, wie ein "normales"
> /usr/(sbin|lib)/sendmail, dann könnte folgendes gehen:
> 
> (echo "Subject: Termine"; echo ; remind -c+2) | msmtp ivan at artificialidea.com

Danke. Das wusste ich auch nicht. Das ist besser als meine Lösung:

    echo "foo" | sed -e '1iSubject: my subject\n' | msmtp user at example.com

-- 
Ivan F. Villanueva B.
A.I. library:   http://www.artificialidea.com
<<<          The European Patent Litigation Agreement (EPLA)          >>>
<<<            will bring Software patents by the backdoor            >>>
<<<  http://www.no-lobbyists-as-such.com/florian-mueller-blog/epla/   >>>
<<<                     http://wiki.ffii.de/EplaEn                    >>>



Mehr Informationen über die Mailingliste linux-l