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

NAME

Mail::Addressbook::Convert::Genr - base class for many email conversion classes

SYNOPSIS

This class is not meant to be called by the user. It is the base class for

Juno.pm

Spry.pm

Csv.pm

Tsv.pm

Compuserve.pm

These classes will convert csv (comma separated variables), tsv (tab separated variables), sprymail exports, juno address exports.

REQUIRES

Perl, version 5.001 or higher

Carp

DESCRIPTION

This is a base class designed for other modules in this distribution.

DEFINITIONS

 Standard Intermediate Format(STF) :  

                        The addressbook format that is used as an intermediate
                        between conversions.  It is rfc822 compliant and can
                        be used directly as a Eudora addressbook.  Do not use
                        a Eudora addressbook as an STF. Some versions of 
                        Eudora use a format, that while RFC822 compliant, will
                        not work as an STF. Run the Eudora addressbook
                        through $Eudora->scan()
                        

METHODS

new

no arguments needed.

scan

Input : a reference to an array containing input data.

Returns: a reference to a STF ( see above).

output

Input: a reference to a STF ( see above). Returns : a reference to an array containing the output file.

setfileFormat

Sets the file format must be called before calling scan or output. Input, must be one of following "csv","tsv","spry","compuserve" before calling scan must be one of following "csv","tsv" before calling scan

LIMITATIONS

This only converts email address, aliases, and mailing lists. Phone numbers, postal addresses and other such data are not converted.

REFERENCES

HISTORY

This code is derived from the code used on www.interguru.com/mailconv.htm . The site has been up since 1996 ( but ldif was only included on 1997, when Netscape 3 started using it.) The site gets about 8000 unique visitors a month, many of whom make addressbook conversions. The code has been well tested.

FUTURE DIRECTIONS

BUGS

CHANGES

Original Version 2001-Sept-09

COPYRIGHT

Copyright (c) 2001 Joe Davidson. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the Perl Artistic License (see http://www.perl.com/perl/misc/Artistic.html). or the GPL copyleft license ( http://www.gnu.org/copyleft/gpl.html)

AUTHOR

Mail::Addressbook::Convert was written by Joe Davidson <jdavidson@interguru.com> in 2001.