From owner-freebsd-questions@FreeBSD.ORG Thu Dec 8 15:06:14 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 436D916A430 for ; Thu, 8 Dec 2005 15:06:14 +0000 (GMT) (envelope-from AshleyMoran@codeweavers.net) Received: from mta09-winn.ispmail.ntl.com (mta09-winn.ispmail.ntl.com [81.103.221.49]) by mx1.FreeBSD.org (Postfix) with ESMTP id 285AA43D67 for ; Thu, 8 Dec 2005 15:06:00 +0000 (GMT) (envelope-from AshleyMoran@codeweavers.net) Received: from aamta12-winn.ispmail.ntl.com ([81.103.221.35]) by mta09-winn.ispmail.ntl.com with ESMTP id <20051208150555.MDRK8609.mta09-winn.ispmail.ntl.com@aamta12-winn.ispmail.ntl.com> for ; Thu, 8 Dec 2005 15:05:55 +0000 Received: from jigsaw-sbs02.jigsawhq.com ([213.106.224.113]) by aamta12-winn.ispmail.ntl.com with ESMTP id <20051208150555.KOOB18425.aamta12-winn.ispmail.ntl.com@jigsaw-sbs02.jigsawhq.com> for ; Thu, 8 Dec 2005 15:05:55 +0000 X-Filtered-With-Copfilter: Version 0.81.6 (ProxSMTP 1.2.1) X-Copfilter-Virus-Scanned: ClamAV 0.87/1205 - Wed Dec 7 14:00:48 2005 X-Copfilter: Client is part of our network, skipped SpamAssassin Received: from alfie.jigsawhq.com ([192.168.0.181]) by jigsaw-sbs02.jigsawhq.com with Microsoft SMTPSVC(5.0.2195.6713); Thu, 8 Dec 2005 15:05:13 +0000 From: Ashley Moran Organization: Codeweavers Ltd To: freebsd-questions@freebsd.org Date: Thu, 8 Dec 2005 15:04:46 +0000 User-Agent: KMail/1.8.3 References: <200512081216.34417.ashley.moran@codeweavers.net> <20051208133543.GA91095@sysadm.stc> In-Reply-To: <20051208133543.GA91095@sysadm.stc> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200512081504.46197.ashley.moran@codeweavers.net> X-OriginalArrivalTime: 08 Dec 2005 15:05:13.0908 (UTC) FILETIME=[CA9BE740:01C5FC08] Subject: Re: Send emails with attachments from command line X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Dec 2005 15:06:14 -0000 On Thursday 08 December 2005 13:35, Igor Robul wrote: > On Thu, Dec 08, 2005 at 12:16:34PM +0000, Ashley Moran wrote: > > Does anyone know how to send emails with attachments from the command > > line? I've replaced sendmail with ssmtp and I can send plain messages > > with mail, but I don't know how to go about preparing MIME encoded > > emails. Any pointers? > > Look at > mail/metamail > > also "mutt" can send mail with attachments in batch mode. Thanks Metamail needs X11 which I don't want on the server, so I've gone with mutt.