On 14-Mar-2003/19:09 -0800, Jack Bowling <[EMAIL PROTECTED]> wrote:
>** Reply to message from "Douglas, Stuart" <[EMAIL PROTECTED]> on Fri, 14 Mar 2003 
>13:34:47 -0500
>
>> Tony (et al),
>> 
>> Thanks...haven't tried your additional config yet, still working with
>> the first setup.  I'm hitting a wall trying to get the mail to actually
>> send.  The md5sum is working correctly (updating with changes), but I
>> never get any e-mail.  Ideas?
>
>
>Hi, Douglas. I got it working last night after some hints from Tony. Here
>is my working version:

Your version sends one email message for each new/updated file.

Since you're using this for audio files, you might consider setting up
Samba to share that directory and have the script send you a URL that
looks like this:

  (after finding a new file...)
  voicefile=$(basename $file)
  url="file://servername/sharename/$voicefile"
  echo "$url" | mail -s 'New voice message' $recipient


No need to create a temp file for a single line of text.

If the file type is recognized and supported by your desktop machine, you
should be able to double-click the link in the email message to listen to
it.


Tony
-- 
Anthony E. Greene <mailto:[EMAIL PROTECTED]>
OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26  C484 A42A 60DD 6C94 239D
AOL/Yahoo Messenger: TonyG05    HomePage: <http://www.pobox.com/~agreene/>
Linux. The choice of a GNU generation <http://www.linux.org/>



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to