On Fri, 2009-04-03 at 10:57 +0530, sandeep gupta wrote: > Hi all, > > I want to write a script that will check any unsent mail in Outbox > before shutting down system, if yes than it will popup a message of > unsent mail and ask user to continue shutdown. > sqlite3 ~/.evolution/mail/local/folders.db "select count(*) from outbox where deleted != 1"
This could return you the exact number of mails waiting on the outbox. -Srini _______________________________________________ Evolution-hackers mailing list [email protected] http://mail.gnome.org/mailman/listinfo/evolution-hackers
