Mail::Message::Field

Mail::Message::Field contains one line of a message header.
Download

Mail::Message::Field Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Mark Overmeer
  • Publisher web site:
  • http://search.cpan.org/~markov/

Mail::Message::Field Tags


Mail::Message::Field Description

Mail::Message::Field contains one line of a message header. Mail::Message::Field contains one line of a message header.INHERITANCE Mail::Message::Field is a Mail::Reporter Mail::Message::Field is extended by Mail::Message::Field::Fast Mail::Message::Field::Flex Mail::Message::Field::FullSYNOPSIS my $field = Mail::Message::Field->new(From => 'fish@tux.aq'); print $field->name; print $field->body; print $field->comment; print $field->content; # body & comment $field->print(*OUT); print $field->string; print "$fieldn"; print $field->attribute('charset') || 'us-ascii';This implementation follows the guidelines of rfc2822 as close as possible, and may there produce a different output than implementations based on the obsolete rfc822. However, the old output will still be accepted.These objects each store one header line, and facilitates access routines to the information hidden in it. Also, you may want to have a look at the added methods of a message: my @from = $message->from; my $sender = $message->sender; my $subject = $message->subject; my $msgid = $message->messageId; my @to = $message->to; my @cc = $message->cc; my @bcc = $message->bcc; my @dest = $message->destinations; my $other = $message->get('Reply-To'); Requirements: · Perl


Mail::Message::Field Related Software