Re: Is there an equivalent of Outlook?

From: Robert Heller (heller_at_deepsoft.com)
Date: 03/02/05


Date: Wed, 02 Mar 2005 00:01:38 +0100


  John-Paul Stewart <jpstewart@binaryfoundry.ca>,
  In a message on Tue, 01 Mar 2005 15:11:29 -0500, wrote :

JS> Robert M. Riches Jr. wrote:
JS> > On 2005-03-01, om.newsgroup@gmail.com <om.newsgroup@gmail.com> wrote:
JS> >
JS> >>Can someone tell me if there is an equivalent of Outlook for Linux?
JS> >>
JS> >>Outlook is really powerfull and offers many functionalities.
JS> >>
JS> >>The ONLY thing I though need is:
JS> >>
JS> >>1. The ability to send an email to the printer for printing as soon as
JS> >>it is received from a SPECIFIC address.
JS> >>
JS> >>2. Similarly to the above, to be able play a specific sound when an
JS> >>email is received from a specific address.
JS> >>
JS> >>Any help would be appreciated.
JS> >
JS> >
JS> > Welcome to Linux-land.
JS> >
JS> > While I don't know of any off-the-shelf tools to do exactly
JS> > those two things, those two functions should be quite easy
JS> > to do. I would suggest using the procmail utility to put
JS> > the mail from your specified address(es) in a particular
JS> > file. Then, I would run a shell or perl script in the
JS> > background (or maybe a cron job every minute or so) to check
JS> > whether that particular file exists and is not empty.
JS>
JS> Why go to all that trouble with an extra script and cron? Why not (in
JS> ~/.procmailrc):
JS>
JS> :0c:
JS> ^From: printme@example.com
JS> | /usr/bin/lpr
JS>
JS>
JS> Something similar could be done to play a song, too. Piping the mail to
JS> the player app might seem non-sensical, but from within procmail that
JS> seems to be the only way to trigger an external program. You just have
JS> to be sure the music player app _ignores_ it's stdin (i.e., the mail)
JS> and plays the file!

:0c:
^From: printme@example.com
| (dd of=/dev/null;play sound.wav)

JS>

                                     \/
Robert Heller ||InterNet: heller@cs.umass.edu
http://vis-www.cs.umass.edu/~heller || heller@deepsoft.com
http://www.deepsoft.com /\FidoNet: 1:321/153

    



Relevant Pages

  • Re: Is there an equivalent of Outlook?
    ... >>Can someone tell me if there is an equivalent of Outlook for Linux? ... >>Outlook is really powerfull and offers many functionalities. ... Something similar could be done to play a song, ... to be sure the music player app _ignores_ it's stdin ...
    (comp.os.linux.misc)
  • Re: Background music problem
    ... Update - it seems that it is not an Outlook problem since ... some MID & WAV files will play as expected while others do not. ... > email but after it is sent and she opens it from the sent items file - the ...
    (microsoft.public.outlook)
  • Re: sound for both outlook and outllook express
    ... > still doesn't play sound when the recipient uses outlook express for the ...
    (microsoft.public.outlook)
  • Re: Problem with Sound Playing
    ... Do you have the latest service packs for Outlook installed? ... > I have "play sound when message arrives" checked in Outlook. ...
    (microsoft.public.outlook)
  • Re: Incoming message sounds
    ... Milly Staples [MVP - Outlook] ... |>I've got it ticked to "play a sound when new messages ... | for emails. ...
    (microsoft.public.outlook)

Loading