* Send email
@ 2006-08-29 16:02 sergio_asg
2006-08-29 18:52 ` Piotr Hosowicz
0 siblings, 1 reply; 3+ messages in thread
From: sergio_asg @ 2006-08-29 16:02 UTC (permalink / raw)
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.
Thanks...
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Send email
2006-08-29 16:02 Send email sergio_asg
@ 2006-08-29 18:52 ` Piotr Hosowicz
2006-08-29 18:59 ` Eric de Redelijkheid
0 siblings, 1 reply; 3+ messages in thread
From: Piotr Hosowicz @ 2006-08-29 18:52 UTC (permalink / raw)
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
?
--
No signature found.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Send email
2006-08-29 18:52 ` Piotr Hosowicz
@ 2006-08-29 18:59 ` Eric de Redelijkheid
0 siblings, 0 replies; 3+ messages in thread
From: Eric de Redelijkheid @ 2006-08-29 18:59 UTC (permalink / raw)
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-08-29 18:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox