From owner-freebsd-questions@FreeBSD.ORG Fri Jul 16 20:36:28 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C901F16A4CE for ; Fri, 16 Jul 2004 20:36:28 +0000 (GMT) Received: from www.plutao.lusodigital.net (plutao.lusodigital.net [216.234.186.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8E0F443D58 for ; Fri, 16 Jul 2004 20:36:28 +0000 (GMT) (envelope-from carla.neves@nereus.pt) Received: (from root@localhost) by www.plutao.lusodigital.net (8.10.2-SOL3/8.10.2) id i6GKaNt11099; Fri, 16 Jul 2004 21:36:23 +0100 Date: Fri, 16 Jul 2004 21:36:23 +0100 Message-Id: <200407162036.i6GKaNt11099@www.plutao.lusodigital.net> From: "Carla Neves" To: freebsd-questions@freebsd.org X-Mailer: NeoMail 1.25 X-IPAddress: 81.193.87.85 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Subject: How to send attached files on sendmail with mail tool? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: carla.neves@nereus.pt List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jul 2004 20:36:28 -0000 Hi Dear all, I'm doing some scripts to automaticly deliver to some email accounts Unix system printouts. I'm using sendmail on Freebsd 4.9 and the mail tool to send my emails. What I would like to know is: is it possible to send emails with files attached using the sendmail and the mail tool? Which syntax should I aply to send an attached file in the message? I would appreciate your help. P.S: I' using this syntax so far for sending emails mail -s "Automatic Message" recipient@example.com <