From owner-freebsd-questions Wed Jan 17 12:45:29 2001 Delivered-To: freebsd-questions@freebsd.org Received: from dnvrpop3.dnvr.uswest.net (dnvrpop3.dnvr.uswest.net [206.196.128.5]) by hub.freebsd.org (Postfix) with SMTP id 51DD737B70D for ; Wed, 17 Jan 2001 12:45:10 -0800 (PST) Received: (qmail 4338 invoked by uid 0); 17 Jan 2001 20:44:57 -0000 Received: from jjdialup97.dnvr.uswest.net (HELO miranda.dnvr.uswest.net) (216.160.138.97) by dnvrpop3.dnvr.uswest.net with SMTP; 17 Jan 2001 20:44:57 -0000 Received: (from loughry@localhost) by miranda.dnvr.uswest.net (8.9.3/8.9.3) id NAA13024; Wed, 17 Jan 2001 13:44:54 -0700 (MST) (envelope-from loughry) Date: Wed, 17 Jan 2001 13:44:54 -0700 (MST) Message-Id: <200101172044.NAA13024@miranda.dnvr.uswest.net> From: "Joe Loughry" To: freebsd-questions@freebsd.org, i.scheming@d.kamp.net Subject: Re: E-mail with attachment Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The following command will send a file as an attachment, but I don't know how to send a regular email message (e.g., a text greeting) ALONG WITH an attachment, from the command line. The previous suggestion (use mutt) is a good one. This is what I use to email arbitrary files: uuencode filename repeat-the-filename-here | mail -s "subject" recipent-name You have to give the filename to uuencode TWICE. Since I don't know of any way to include text in the resulting email, I usually put that in the subject instead. Hope this helps. - -Joe -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0i for non-commercial use Charset: noconv iQA/AwUBOmYERtmomnkMQVDQEQLKFwCfUfQXbtKey9VUr8M0kMK9MJZVWVYAoIDk hwYViFmob5WBX492K0xfDSos =VXUJ -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message