public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] How to send mail with attachment from a cron job?
@ 2011-02-17 16:59 Andrea Momesso
  2011-02-17 17:36 ` [gentoo-user] " Grant Edwards
  0 siblings, 1 reply; 2+ messages in thread
From: Andrea Momesso @ 2011-02-17 16:59 UTC (permalink / raw
  To: gentoo-user

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.

Thank you

-- 
TopperH
http://topperh.ath.cx



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-user] Re: How to send mail with attachment from a cron job?
  2011-02-17 16:59 [gentoo-user] How to send mail with attachment from a cron job? Andrea Momesso
@ 2011-02-17 17:36 ` Grant Edwards
  0 siblings, 0 replies; 2+ messages in thread
From: Grant Edwards @ 2011-02-17 17:36 UTC (permalink / raw
  To: gentoo-user

On 2011-02-17, Andrea Momesso <momesso.andrea@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 -- somebody@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!!




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-02-17 18:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-17 16:59 [gentoo-user] How to send mail with attachment from a cron job? Andrea Momesso
2011-02-17 17:36 ` [gentoo-user] " Grant Edwards

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox