public
Description: perl library for message-id generation
Homepage:
Clone URL: git://github.com/rjbs/email-messageid.git
Ricardo SIGNES (author)
Fri Jan 23 19:22:55 -0800 2009
commit  04db73b03db7948b2c30ec8d7426632a221e8e4f
tree    ea0dd0185db5be16a1eaf609492c15a40911385e
parent  3638ce99e51a91999fefb759f4bc7d7c656aedd3
name age message
file Changes Loading commit data...
file LICENSE
file MANIFEST
file Makefile.PL
file README
directory lib/
directory t/
README
NAME
    Email::MessageID - Generate world unique message-ids.

SYNOPSIS
      use Email::MessageID;

      my $mid = Email::MessageID->new;

      print "Message-ID: $mid\x0A\x0D";

DESCRIPTION
    Message-ids are optional, but highly recommended, headers that identify
    a message uniquely. This software generates a unique message-id.

  Methods
    new
          my $mid = Email::MessageID->new;

          my $new_mid = Email::MessageID->new( host => $myhost );

        This class method constructs an Email::Address object containing a
        unique message-id. You may specify custom "host" and "user"
        parameters.

        By default, the "host" is generated from "Sys::Hostname::hostname".

        By default, the "user" is generated using "Time::HiRes"'s
        "gettimeofday" and the process ID.

        Using these values we have the ability to ensure world uniqueness
        down to a specific process running on a specific host, and the exact
        time down to six digits of microsecond precision.

SEE ALSO
    Email::Address, Time::HiRes, Sys::Hostname, perl.

AUTHOR
    Casey West, <casey@geeknest.com>.

COPYRIGHT
      Copyright (c) 2004 Casey West.  All rights reserved.
      This module is free software; you can redistribute it and/or modify it
      under the same terms as Perl itself.