[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: email notification of ftp transfers
- From: "Maxim Vexler" <hq4ever gmail com>
- To: bret_stern machinemanagement com, "Getting started with Red Hat Linux" <redhat-install-list redhat com>
- Cc:
- Subject: Re: email notification of ftp transfers
- Date: Tue, 14 Nov 2006 23:19:43 +0200
On 11/14/06, Bret Stern <bret_stern machinemanagement com> wrote:
Can anyone tell me some of the common methods
used in linux to send email notifications of
successful ftp transfers?
Someone has asked me .. so i'm asking you all
Thanks in advance
Bret Stern
Hi Bret
Basically you check for return value of the last command with if [ $?
== 0 ], then use either echo "Something" | mail some address com or
cat /tmp/some_log_file | mutt... the same idea apples as with mail
except for the fact that with mutt you can also attach files.
You also try mime-construct for the "low level" email message construction.
Google is your friend.
_______________________________________________
Redhat-install-list mailing list
Redhat-install-list redhat com
https://www.redhat.com/mailman/listinfo/redhat-install-list
To Unsubscribe Go To ABOVE URL or send a message to:
redhat-install-list-request redhat com
Subject: unsubscribe
--
Cheers,
Maxim Vexler
"Free as in Freedom" - Do u GNU ?
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]