Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 32.282.966 Times

MIME::Head 5.420

  Date Added: October 15, 2010  |  Visits: 794

MIME::Head

Report Broken Link
Printer Friendly Version


Product Homepage
Download (71 downloads)

MIME::Head is a MIME message header (a subclass of Mail::Header). SYNOPSIS Before reading further, you should see MIME::Tools to make sure that you understand where this module fits into the grand scheme of things. Go on, do it now. Ill wait. Ready? Ok... Construction ### Create a new, empty header, and populate it manually: $head = MIME::Head->new; $head->replace(content-type, text/plain; charset=US-ASCII); $head->replace(content-length, $len); ### Parse a new header from a filehandle: $head = MIME::Head->read(*STDIN); ### Parse a new header from a file, or a readable pipe: $testhead = MIME::Head->from_file("/tmp/test.hdr"); $a_b_head = MIME::Head->from_file("cat a.hdr b.hdr |"); Output ### Output to filehandle: $head->print(*STDOUT); ### Output as string: print STDOUT $head->as_string; print STDOUT $head->stringify; Getting field contents ### Is this a reply? $is_reply = 1 if ($head->get(Subject) =~ /^Re: /); ### Get receipt information: print "Last received from: ", $head->get(Received, 0), "n"; @all_received = $head->get(Received); ### Print the subject, or the empty string if none: print "Subject: ", $head->get(Subject,0), "n"; ### Too many hops? Count em and see! if ($head->count(Received) > 5) { ... ### Test whether a given field exists warn "missing subject!" if (! $head->count(subject)); Setting field contents ### Declare this to be an HTML header: $head->replace(Content-type, text/html); Manipulating field contents ### Get rid of internal newlines in fields: $head->unfold; ### Decode any Q- or B-encoded-text in fields (DEPRECATED): $head->decode; Getting high-level MIME information ### Get/set a given MIME attribute: unless ($charset = $head->mime_attr(content-type.charset)) { $head->mime_attr("content-type.charset" => "US-ASCII"); } ### The content type (e.g., "text/html"): $mime_type = $head->mime_type; ### The content transfer encoding (e.g., "quoted-printable"): $mime_encoding = $head->mime_encoding; ### The recommended name when extracted: $file_name = $head->recommended_filename; ### The boundary text, for multipart messages: $boundary = $head->multipart_boundary;.

Requirements: No special requirements
Platforms: Linux
Keyword: Header Libraries Message Header Mime Message Mimehead New Print Programming Received Stdout Subclass Subject
Users rating: 0/10

License: Freeware Size: 389.12 KB
MIME::HEAD RELATED
Email  -  Unpack a multipart MIME message 1.0
This script is an example of using the email module to unpack and decode a MIME message. This example uses the message's walk() method.
 
E-Mail Tools  -  Smarty and MIME message integration 2007-05-21
Smarty and MIME message integration is a PHP class library that can send e-mail messages using Smarty templates. This package can be used to compose and send e-mail messages using Smarty templates. It wraps around Smarty and MIME message class...
 
Modules  -  Refer Notes 1.1
The message and the message container can be styled.When activated the container sits accross the top of your page and is fixed so it stays present even if the visitor scrolls down the page. The container has a close button that will allow the...
 
Libraries  -  Mail::Message::Head::Complete 2.069
Mail::Message::Head::Complete is a Perl module with the header of one message. INHERITANCE Mail::Message::Head::Complete is a Mail::Message::Head is a Mail::Reporter Mail::Message::Head::Complete is extended by...
583.68 KB  
Programming  -  Email::MIME::RFC2047 0.90
This set of modules tries to provide a correct and usable implementation of RFC 2047 "MIME Part Three: Message Header Extensions for Non-ASCII Text". The Encode module also provides RFC 2047 encoding and decoding but it still has some bugs...
10.24 KB  
Libraries  -  MPICH2 1.0.5p4
MPICH2 is a robust and flexible implementation of the MPI (Message Passing Interface). Message Passing Interface is often used with parallel or distributed computing projects. MPICH2 is a multi-platform, configurable system (development,...
12.5 MB  
Libraries  -  macstl 0.3.1
macstl is a C++ header library designed to bring the world of generic programming to the Macintosh, and deliver the surprising speed of SIMD in an intuitive cross-platform package. For example, a simple loop calculating a trigonometric function...
174.08 KB  
Development Tools  -  Chilkat MIME C Library 1.0
Chilkat MIME C Library  allows you to create an manipulate MIME and S/MIME messages. Features: - Navigate the MIME message tree structure via the NumParts property and GetPart(index) method. - Retrieve header field names and values. - Add header...
 
Utilities  -  MSMQ QXplorer 1.0.8.418
This tool will use to enumerate all message in message queue(MSMQ). It can also Create queue, Delete queue, Purge message in queue, send message, delete message, and recieve message. It has also a function tha can get MD5 Hash, SHA 256, SHA512....
212 KB  
Email  -  Use email module to bundle current directory 1.3
Use email module to bundle current directory script uses the email module to create a multipart MIME message.
 
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 3.15.3
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB