Am Samstag, den 03.12.2005, 11:59 +0100 schrieb Tamas Sarga:
> Hi,
> 
> I'm using Postfix on my PC. Some of my programs send mails to me. For 
> example Cron and Smartd. Cron mails have subject, but smartd try to use 
> sendmail -s but sendmail says it is invalid argument. How can I send 
> mails with subject on CLI?

You could use mutt:

emerge mutt

And then you may sent email with something like that:

echo "Message body" | mutt -s "subject" -a "attached-file"
[EMAIL PROTECTED]

> 
> TIA.
> Cheers,
> Tamas Sarga                             Sárga Tamás
> -- 
> Make the world confused!                Zavard össze a világot!
> Smile on monday morning!                Mosolyogj hétfő reggel!
-- 
Mit freundlichen Grüßen

Heinz Sporn

SPORN it-freelancing

Mobile:  ++43 (0)699 / 127 827 07
Email:   [EMAIL PROTECTED]
         [EMAIL PROTECTED]
Website: http://www.sporn-it.com
Snail:   Steyrer Str. 20
         A-4540 Bad Hall
         Austria / Europe

-- 
gentoo-user@gentoo.org mailing list

Reply via email to