1 |
On 2011-02-17, Andrea Momesso <momesso.andrea@×××××.com> wrote: |
2 |
> Hi, |
3 |
> |
4 |
> what is the best way to send a mail with a pdf attachment from a cron job? |
5 |
> |
6 |
> The machine is already set up with qmail + vpopmail + dovecot. |
7 |
> |
8 |
> I really don't know where to look for instructions on how to use |
9 |
> qmail-send from a script. |
10 |
|
11 |
I'd use mutt: |
12 |
|
13 |
echo "Here's an attachment" | mutt -s "cron sending a pdf" -a whatever.pdf -- somebody@×××××××.com |
14 |
|
15 |
-- |
16 |
Grant Edwards grant.b.edwards Yow! I just heard the |
17 |
at SEVENTIES were over!! And |
18 |
gmail.com I was just getting in touch |
19 |
with my LEISURE SUIT!! |