Eugene Smiley on 7 Nov 2007 00:22:42 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Auto-send Email


JP Vossen wrote:
Yup. Obviously, there are improvements that could be made. For example, check for existence of file_to_send* and continue only if one or more exist. Then don't ignore errors, so if something does go wrong you get a cron message about it. But it sounded like you wanted short, quick & dirty.

Short, quick and dirty. Was reading man mail|mailx and the -e flag will not send a message if the body is empty. One less worry about empty messages!

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug