Yeah, that works great!! Thank you!
On Thu, Feb 17, 2011 at 6:36 PM, Grant Edwards <grant.b.edwa...@gmail.com> wrote: > On 2011-02-17, Andrea Momesso <momesso.and...@gmail.com> wrote: >> Hi, >> >> what is the best way to send a mail with a pdf attachment from a cron job? >> >> The machine is already set up with qmail + vpopmail + dovecot. >> >> I really don't know where to look for instructions on how to use >> qmail-send from a script. > > I'd use mutt: > > echo "Here's an attachment" | mutt -s "cron sending a pdf" -a whatever.pdf > -- someb...@invalid.com > > -- > Grant Edwards grant.b.edwards Yow! I just heard the > at SEVENTIES were over!! And > gmail.com I was just getting in touch > with my LEISURE SUIT!! > > > -- TopperH http://topperh.ath.cx