Mailing attachments

Bill Warner plug-discuss@lists.PLUG.phoenix.az.us
04 Sep 2001 15:56:33 -0700


can you not just do it the old redirected way?

mail -s "my log file" my@email.address < /var/log/messages

On 03 Sep 2001 18:29:26 -0400, meg@leary.csoft.net wrote:
> Have you tried 'mpack'? Works great for me.
> On Mon, Sep 03, 2001 at 12:57:31PM -0700, Nathan England wrote:
> > 
> > 
> > Does anyone know how to mail an attachment from the command line?
> > I looking for something non-interactive, that I could put in a script.
> > I have a log that I want emailed to me everyday before it gets deleted
> > at the end of the day.
> > 
> > Anyone have any ideas?
> > 
> > nathan
> > 
> > 
> > ________________________________________________
> > See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't post to the list quickly and you use Netscape to write mail.
> > 
> > PLUG-discuss mailing list  -  PLUG-discuss@lists.PLUG.phoenix.az.us
> > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> ________________________________________________
> See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't post to the list quickly and you use Netscape to write mail.
> 
> PLUG-discuss mailing list  -  PLUG-discuss@lists.PLUG.phoenix.az.us
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
-- 
Bill Warner
Unix/Linux Admin.
Direct Alliance Corporation

Company required stuff:

Contents are Direct Alliance Corporation Confidential

This message is for the designated recipient(s) only and contains
Direct Alliance Corporation privileged and confidential information.
If you have received it in error, please notify the sender immediately
and delete the original.  Any other use of this email is prohibited.