Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    Email::Store::Entity 0.256

    Download button

    No screenshots available
    Downloads: 372  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Good (3.0/5)
    2 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Simon Cozens | More programs
    Perl Artistic License / FREE
    October 18th, 2007, 20:05 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Email::Store::Entity description

    A Perl module used to store people in the address universe.

    Email::Store::Entity is a Perl module to store people in the address universe.

    SYNOPSIS

    my ($name) = Email::Store::Name->search( name => "Simon Cozens" )
    @mails_from_simon = $name->addressings( role => "From" )->mails;


    This file defines a number of concepts related to the people who send and receive mail.

    An "entity" is a distinct "person", who may have multiple friendly names and/or multiple email addresses.

    We save distinct names and addresses; these are tied to mails by means of "addressings". An addressing has a name, an address, a mail, a role and an entity. The entity ID is meant to distinguish between the same person with different email addresses or the same email address replying on behalf of several names; see http://blog.simon-cozens.org/6744.html for more on this theory.

    Distinguishing entities

    There are many heuristics to determine whether foo-bar@example.com (Foo Bar) is the same person as foo@example.com (Foo), or the same person as foo-bar@anotherdomain.com (Foo Bar), or an entirely separate individual. Email::Store only knows one such heuristic, and it's not a good one: it believes that a combination of email address and name represents a distinct individual. It doesn't know that simon-nospam@ and simon@ the same domain are the same person. This heuristic is implemented by Email::Store::Entity::Correlator::Trivial.

    However, in the same way as the rest of Email::Store, you can write your own correlators to determine how an addressing should be allocated to an entity.

    A correlator must live in the Email::Store::Entity::Correlator namespace, and implement the get_person_order and get_person methods. get_person is called with a reference to the currently-selected entity and also the mail object, role name, and name and address objects involved. By examining the mail and the current list of addressings, your method can choose to find or create a more appropriate entity, and replace the reference accordingly.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    address book | email storage | Perl module | address | contacts | email

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM