Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: Eric de Redelijkheid <ericdere@xs4all.nl>
Subject: Re: Send email
Date: Tue, 29 Aug 2006 20:59:38 +0200	[thread overview]
Message-ID: <44f48e99$0$4530$e4fe514c@news.xs4all.nl> (raw)
In-Reply-To: <ed22kg$ajb$1@nemesis.news.tpi.pl>

Anno Domini 29-8-2006 20:52, Piotr Hosowicz sprak aldus:
> sergio_asg wrote:
>> Hi everybody!
>>
>> I want to know if it's posible to send a plaintext file in an email
>> using scripting.  For instance, my vdump job generates a log and I want
>> that file can be check by my operator in his mail account.
>
> echo "Mail body" | mail -s 'Subject' recipient@somewhere.example.com
>
> ?
>
uuencode vdump.log vdump.log|mailx -s 'Vdump report' operator@anywhere.com

This sends the log as an attachement. Otherwise just use: cat 
vdump.log|mailx -s ....etc.


      reply	other threads:[~2006-08-29 18:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-29 16:02 Send email sergio_asg
2006-08-29 18:52 ` Piotr Hosowicz
2006-08-29 18:59   ` Eric de Redelijkheid [this message]
read-only archive

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