From owner-freebsd-questions@FreeBSD.ORG Fri May 15 03:24:04 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6B320106566C for ; Fri, 15 May 2009 03:24:04 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-ew0-f159.google.com (mail-ew0-f159.google.com [209.85.219.159]) by mx1.freebsd.org (Postfix) with ESMTP id F3FE18FC17 for ; Fri, 15 May 2009 03:24:03 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by ewy3 with SMTP id 3so2051072ewy.43 for ; Thu, 14 May 2009 20:24:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=a8TQvO4TY4Amj1uAUHuIFBz24A5Qzv7tfRnKMNCtza4=; b=fAIQdfmMAYCJoMD7nXrSY3ml30M5SgGFfc7kQSfkHfMx68rD4JLBHFRI/JBEEYM4qJ NGi3QohXRYLKa/OLzKSFw7R1t38x4DNFhelY7cc/wrBrzKkvSDuMpx2zBWXRU02Jj192 +F+P7f4PRxUXM9mKmaW8lTStFF28MvSAp+aCI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=QuI/OFbsvXDIhQJrtasvjPTaML7W6SPJpeR9ctQuHHqCZpffSzsVUi1X1Vmz6CmRkU dynMdgqM0xysMJmWNTn35ADfGSw/jUh2RNkyxH66Zqd3dD/X8vIHHf4DnB9citQp85WW locQUdM7ZhT/66pVb3nTX5c+DHy/V5xXzG9LQ= MIME-Version: 1.0 Received: by 10.216.1.77 with SMTP id 55mr1087272wec.111.1242357842775; Thu, 14 May 2009 20:24:02 -0700 (PDT) In-Reply-To: <26face530905142020t55df0c76tc7c18547967d2526@mail.gmail.com> References: <26face530905142020t55df0c76tc7c18547967d2526@mail.gmail.com> Date: Thu, 14 May 2009 23:24:02 -0400 Message-ID: <4ad871310905142024i7c9b697anca04edaeb17de001@mail.gmail.com> From: Glen Barber To: Kelly Jones Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Emailing 100+ PDFs, one at a time, to a given address 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: Fri, 15 May 2009 03:24:04 -0000 On Thu, May 14, 2009 at 11:20 PM, Kelly Jones wrote: > I need to email 100s of PDFs, 1 per email, to a given address. > > What's the easiest way to do this? > > /usr/bin/Mail won't work, since > PDFs are binary, so I must first BASE64 encode them. > > I could write a Perl script to BASE64 encode them and MIME-wrap them, > but is there an existing tool for this? > If you can install mail/mutt, you can replace (for the most part) /usr/bin/mail with /usr/local/bin/mutt and still script it. HTH -- Glen Barber