The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

App::Addex::Output::Mutt - generate mutt configuration from an address book

VERSION

version 0.023

DESCRIPTION

This plugin produces a file that contains a list of alias lines. The first email address for each entry will be aliased to the entry's aliasified nickname and name. Every other address will be aliased to one of those with an appended, incrementing counter. The entry's name is added as the alias's "real name."

If the entry has a "folder" value (given as a line in the card's "notes" that looks like "folder: value") a save-hook is created to save mail from the entry to that folder and a mailboxes line is created for the folder. If the entry has a "sig" value, a send-hook is created to use that signature when composing a message to the entry.

CONFIGURATION

The valid configuration parameters for this plugin are:

  filename  - the filename to which to write the Mutt configuration

  unidecode - if set (to 1) this will transliterate all aliases to ascii before
              adding them to the file

METHODS

App::Addex::Output::Mutt is a App::Addex::Output::ToFile subclass, and inherits its methods.

process_entry

  $mutt_outputter->process_entry($addex, $entry);

This method does the actual writing of configuration to the file.

AUTHOR

Ricardo SIGNES, <rjbs@cpan.org>

BUGS

Please report any bugs or feature requests through the web interface at http://rt.cpan.org. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

COPYRIGHT

Copyright 2006-2007 Ricardo Signes, all rights reserved.

This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself.