Firebird / Mozilla and Gnus for mail

http://www.emacswiki.org/cgi-bin/wiki.pl/AadityaSood

Interesting snippet on how to get Gnus to be your mail client for Firebird or Mozilla.

  1. Install mozex extension from http://mozex.mozdev.org
  2. Make a shell script called mailer.sh:
         #!/bin/sh
         to=$1
         sub="$2"
         /usr/bin/gnuclient -eval "(gnus-msg-mail \"$to\" \"$sub \")"
  3. configure mozex to call mailer.sh with as
         mailer.sh %a