🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: bln.net.mail
Article #105

automatic e-mail?

#105
From: Ron Verhees
Date: Tue, 14 May 2002 10:07
26 lines
1914 bytes
Hi Everybody,

Probabaly I'm on the wrong newsgroup but
I couldn't find something more suitable. (if you
know a more appropriate group for this question
please let me know)

The problem is as followed:

We have some files which are generated by some program on Linux Red Hat 7.1.
These files are automatically copied into some directories. Once they are
there we need
to mail them out and this happenes by hand at the moment ;(. What we'd like
to have is
a cronjob which runs every night checking for the file and if a file is
there mail it to a specific
user. We would like to use UNIX mail or something else for that but at least
something that can
be scripted. Has anybody any idea how to do this?

(NOTE cron + scripting no problem I only need the command how to generate a
mail
message WITH attachement automatically)

Thnx in advance!
Best regards, Ron
Technical Details
Message-ID: <Zl5E8.1892$W3.28245@typhoon.bart.nl>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!peer.news.opaltelecom.net!londen1-snf1.gtei.net!news.gtei.net!diablo.theplanet.net!colt.net!news-x2.support.nl!newshub1.nl.home.com!news.nl.home.com!newshub.bart.net!newshub.vianetworks.nl!typhoon.bart.nl!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 113909,fde57e5bdc46c4c5,start
X-Google-Attributes: gid113909,public
X-Google-ArrivalTime: 2002-05-14 03:10:20 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!peer.news.opaltelecom.net!londen1-snf1.gtei.net!news.gtei.net!diablo.theplanet.net!colt.net!news-x2.support.nl!newshub1.nl.home.com!news.nl.home.com!newshub.bart.net!newshub.vianetworks.nl!typhoon.bart.nl!not-for-mail
From: "Ron Verhees" <r.verhees@cook-eu.com>
Newsgroups: bln.net.mail
Subject: automatic e-mail?
Lines: 28
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Message-ID: <Zl5E8.1892$W3.28245@typhoon.bart.nl>
Date: Tue, 14 May 2002 10:07:53 GMT
NNTP-Posting-Host: 212.61.5.238
X-Complaints-To: abuse@vianetworks.nl
X-Trace: typhoon.bart.nl 1021370873 212.61.5.238 (Tue, 14 May 2002 12:07:53 MET DST)
NNTP-Posting-Date: Tue, 14 May 2002 12:07:53 MET DST