From owner-freebsd-questions Tue Nov 20 19:57:45 2001 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id 7688137B405 for ; Tue, 20 Nov 2001 19:57:43 -0800 (PST) Received: (from dan@localhost) by dan.emsphone.com (8.11.6/8.11.6) id fAL3vak36338; Tue, 20 Nov 2001 21:57:36 -0600 (CST) (envelope-from dan) Date: Tue, 20 Nov 2001 21:57:35 -0600 From: Dan Nelson To: Marc Cc: freebsd-questions@FreeBSD.ORG Subject: Re: File-attach Message-ID: <20011121035735.GA51854@dan.emsphone.com> References: <066201c1722e$d745ea30$6400a8c0@Marc> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <066201c1722e$d745ea30$6400a8c0@Marc> User-Agent: Mutt/1.3.23.2i X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In the last episode (Nov 20), Marc said: > How do I send an output file as an file-attachment via email using > something similar to the following line: > > perl procedure.pl | mail john.doe@domain.com Please don't piggy-back questions onto other threads. You can use the mutt mailer to attach arbitrary files to messages: echo "see attached" | mutt -a /boot/kernel/kernel user@host.com Or if you are using perl, see the p5-MIME-Lite or p5-MIME-Lite ports. which generate and send MIME multipart messages. -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message