Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* mailing binary attachments from within a script
@ 2000-05-05  4:00 Keith Moodie
  2000-05-05  4:00 ` Waco Johnny D
  2000-05-05  4:00 ` Andrew Moar
  0 siblings, 2 replies; 4+ messages in thread
From: Keith Moodie @ 2000-05-05  4:00 UTC (permalink / raw)


Hi,

We want to have a script that produces a file, compresses it (probably
pkzip format) and emails it as an attachment.

Trouble is that the mailers I currently have on my 4.0D alpha don't seem
to be able to do this from within a script. 
(dtmail can handle attachments, but can it be called from within a
script, by a user other than the one logged in via the console without
causing problems.)

Can anyone help: suggest a package to do this; where to find it;
template script that does something like what I plan to do.

Many thanks in anticipation

Keith
-- 
                                
moodiek@dnr.qld.gov.au



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: mailing binary attachments from within a script
  2000-05-05  4:00 mailing binary attachments from within a script Keith Moodie
  2000-05-05  4:00 ` Waco Johnny D
@ 2000-05-05  4:00 ` Andrew Moar
  1 sibling, 0 replies; 4+ messages in thread
From: Andrew Moar @ 2000-05-05  4:00 UTC (permalink / raw)


In article <391220F9.41C6@dnr.qld.gov.au>,
	Keith Moodie <moodiek@dnr.qld.gov.au> writes:

> We want to have a script that produces a file, compresses it (probably
> pkzip format) and emails it as an attachment.
 

[ snip ]

> Can anyone help: suggest a package to do this; where to find it;
> template script that does something like what I plan to do.
 
Mutt does this very nicely and compiles fine under Tru64.  Go to 

http://www.mutt.org

Download, compile and you should be able to use something like:

gzip filename
mutt -a filename.gz -s "Here is the file..." fred@someplace.com < /dev/null

Andrew
-- 
        Andrew Moar : Ph +61 3 9479 1505  email A.Moar@latrobe.edu.au
         Unix Environment Specialist, Information Technology Services
                    La Trobe University, Melbourne



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: mailing binary attachments from within a script
  2000-05-05  4:00 mailing binary attachments from within a script Keith Moodie
@ 2000-05-05  4:00 ` Waco Johnny D
  2000-05-05  4:00   ` Waco Johnny D
  2000-05-05  4:00 ` Andrew Moar
  1 sibling, 1 reply; 4+ messages in thread
From: Waco Johnny D @ 2000-05-05  4:00 UTC (permalink / raw)


Another less-elegant but simpler solution would be to use mailx
which is probably already on your system.

* Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
The fastest and easiest way to search and participate in Usenet - Free!




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: mailing binary attachments from within a script
  2000-05-05  4:00 ` Waco Johnny D
@ 2000-05-05  4:00   ` Waco Johnny D
  0 siblings, 0 replies; 4+ messages in thread
From: Waco Johnny D @ 2000-05-05  4:00 UTC (permalink / raw)


..and I forgot to say "using the compression utility of your
choice and uuencode."


* Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
The fastest and easiest way to search and participate in Usenet - Free!




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-05-05  4:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-05-05  4:00 mailing binary attachments from within a script Keith Moodie
2000-05-05  4:00 ` Waco Johnny D
2000-05-05  4:00   ` Waco Johnny D
2000-05-05  4:00 ` Andrew Moar

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