Re: fedora-list Digest, Vol 4, Issue 25

From: Aaron Gaudio (prothonotar_at_tarnation.dyndns.org)
Date: 06/03/04

  • Next message: activecs: "[FC2] Making added modules permanent"
    Date: Wed, 2 Jun 2004 20:58:11 -0400
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    
    
    
    

    Behold, Paul Dubinsky <pdubinsky@flxent.com> hath decreed:
    > At 10:58 AM 6/2/2004, you wrote:
    >
    > >Message: 3
    > >Date: Wed, 2 Jun 2004 08:39:03 -0500
    > >From: "Benjamin J. Weiss" <benjamin@weiss.name>
    > >Subject: Re: Emailing a file attachment w/ cron
    > >To: "For users of Fedora Core releases" <fedora-list@redhat.com>
    > >Message-ID: <019001c448a6$f8f91160$7f790180@osbi03981>
    > >Content-Type: text/plain; charset="iso-8859-1"
    > >
    > >From: "Paul Dubinsky" <pdubinsky@flxent.com>
    > >> I'm using FC1 and I need to email a log file with cron. I'm
    > >currently
    > >using
    > >> send but send takes the logfile and makes it the body of the
    > >email. I want
    > >> to send it as an attachment. I've Man'ed mail, send and post but
    > >none of
    > >> these explicitly handle attachments.
    > >>
    > >> Any suggestions?
    > >
    > >I think that mutt will do this.
    > >
    > >mutt -s "This is the subject" -a attached.file -i body-text.file
    > >anybody@somewhere.com
    > >
    > >Ben
    >
    > Tried Mutt but I could only get it to work interactively. That
    > won't do for cron.

    Try this:

    mutt -s "This is the subject" -a attached.file -i body-text.file anybody@somewhere.com < /dev/null

    -- 
    prothonotar at tarnation.dyndns.org
    "Every man is a mob, a chain gang of idiots." 
                               - Jonathan Nolan, /Memento Mori/
      
    
    

    
    

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    


  • Next message: activecs: "[FC2] Making added modules permanent"