Closed Bug 227407 Opened 21 years ago Closed 21 years ago

option to execute external command for biff status

Categories

(SeaMonkey :: MailNews: Message Display, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: jochen, Assigned: sspitzer)

References

Details

Attachments

(1 file, 1 obsolete file)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031128 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031128 Hi, I'd like to execute an external command when new mail arrives or when no unread mail is present. This would make it possible to integrate mozmail in my windowmanager's biff something like mail.biff.notify = true mail.biff.notify.command = "/usr/bin/biff %state" Reproducible: Always Steps to Reproduce: 1. 2. 3.
Couldn't find a dupe, so confirming. (Bug 222838 is close but the reporter there was mostly concerned with getting notification sounds working.) See also bug 80439.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Linux → All
Hardware: PC → All
I browsed the source a little and found basically three possibilities to solve this: o when the BiffState of the mini-mail DOM object is changed, an external program could be invoked o something similar to the OS integration for MacOS or Win (maybe as generic integrator) o maybe it's possible to trigger a javascript when the biff state changes any suggestions on this?
ok, that's what I got so far. Quite generic and works for me. The command that is executed is hard-wired so far, I'll make this configurable and submit it to mozdev.org then.
Attached file invoke external biff
ok, works for me now. the xul application gives you a new pref tab under "advanced prefs -> biff" where you can define an external command to invoke when the biff status changes. the string %s is replaced with on or off.
Attachment #137072 - Attachment is obsolete: true
implemented the feature myself, so I'll drop this feature request
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Nothing was checked into Mozilla - so "fixed" is the wrong resolution.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
->WORKSFORME
Status: REOPENED → RESOLVED
Closed: 21 years ago21 years ago
Resolution: --- → WORKSFORME
*** Bug 222838 has been marked as a duplicate of this bug. ***
I've modified the xpi meanwhile. the current version is available from my homepage http://penguin-breeder.org/patches/download/biff.xpi
Product: Browser → Seamonkey
Component: MailNews: Notification → MailNews: Message Display
QA Contact: stephend → search
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: