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 31.590.453 Times

MIME::Head 5.420

  Date Added: October 15, 2010  |  Visits: 782


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
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
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.
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by, it is used to describe information about an application such as the name and...
327.68 KB  
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  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.13.0
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