From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.50) id 1EfA7q-0004YT-B6 for garchives@archives.gentoo.org; Thu, 24 Nov 2005 05:58:31 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jAO5vY3I027487; Thu, 24 Nov 2005 05:57:34 GMT Received: from spok.local.sporn-it.com (dsl-239-156.utaonline.at [212.152.239.156]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id jAO5no8d004617 for ; Thu, 24 Nov 2005 05:49:50 GMT Received: from spok.local.sporn-it.com (spok.local.sporn-it.com [127.0.0.1]) by spok.local.sporn-it.com (Postfix) with ESMTP id 0F92D1B782361 for ; Thu, 24 Nov 2005 06:49:50 +0100 (CET) Subject: Re: [gentoo-user] mail command and attachment? From: Heinz Sporn To: gentoo-user@lists.gentoo.org In-Reply-To: <20051123172837.0f7c5711@hactar.digimed.co.uk> References: <0d5401c5f04f$2830b310$6402a8c0@internal.local.net> <20051123172837.0f7c5711@hactar.digimed.co.uk> Content-Type: text/plain; charset=ISO-8859-1 Date: Thu, 24 Nov 2005 06:49:49 +0100 Message-Id: <1132811389.9724.4.camel@spok.local.sporn-it.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id jAO5no8d004617 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by robin.gentoo.org id jAO5vY3a027487 X-Archives-Salt: b7fe6734-4e00-451d-b493-9ae720479a67 X-Archives-Hash: cfda0bba7ab3225f0a47c978c60a92f7 Am Mittwoch, den 23.11.2005, 17:28 +0000 schrieb Neil Bothwick: > On Wed, 23 Nov 2005 11:58:40 -0500, Leonard - Gentoo wrote: >=20 > > Is it possible to send an attachment using the 'mail' command say in = a=20 > > cronjob? i have a file that i would like sent to me before deleted an= d=20 > > recreated to examine it.. but 'man mail' doesnt exactly suggest that = an=20 > > attachment is possible >=20 > I don't believe mail will do this, unless you encode the attachment and > incorporate it into the mail yourself. mail-client/nail seems to do wha= t > you want, describing itself as 'an enhanced mailx-compatible mail clien= t'. Or use just this: emerge mutt Than in a script you might use something like this: echo "Content" | mutt -s "Subject" -a file someone@somewhere.com >=20 >=20 --=20 Mit freundlichen Gr=FC=DFen Heinz Sporn SPORN it-freelancing Mobile: ++43 (0)699 / 127 827 07 Email: heinz.sporn@sporn-it.com heinz.sporn@utanet.at Website: http://www.sporn-it.com Snail: Steyrer Str. 20 A-4540 Bad Hall Austria / Europe --=20 gentoo-user@gentoo.org mailing list