# MIME-tools

> Perl5 modules for MIME-compliant messages

**Wikidata**: [Q114506766](https://www.wikidata.org/wiki/Q114506766)  
**Source**: https://4ort.xyz/entity/mime-tools

## Summary
MIME-tools is a set of Perl5 modules designed for handling MIME-compliant messages. It provides developers with tools to create, parse, and manipulate email and other MIME-formatted data in Perl applications.

## Key Facts
- MIME-tools is distributed as free software under multiple licenses including Artistic License and GNU GPL version 1.0 or later
- The software is available through CPAN under the project ID MIME::Tools
- It is packaged for major Linux distributions including Debian (libmime-tools-perl), Ubuntu (libmime-tools-perl), and Gentoo (dev-perl/MIME-tools)
- The project has been maintained in Debian since 1999, with the libmime-tools-perl package becoming the preferred version in 2010
- MIME-tools is written in Perl and operates across multiple operating systems

## FAQs
### Q: What is MIME-tools used for?
A: MIME-tools provides Perl modules for creating, parsing, and manipulating MIME-compliant messages, primarily used for email handling and processing in Perl applications.

### Q: What license does MIME-tools use?
A: MIME-tools is distributed under dual licensing - both the Artistic License and GNU General Public License version 1.0 or later, allowing users to choose their preferred license.

### Q: How can I install MIME-tools?
A: MIME-tools can be installed through CPAN using the MIME::Tools project ID, or via package managers on Linux distributions (libmime-tools-perl on Debian/Ubuntu, dev-perl/MIME-tools on Gentoo).

### Q: Is MIME-tools still actively maintained?
A: MIME-tools has been available since at least 1999 and continues to be packaged in major Linux distributions, though specific maintenance status would need to be verified through the project's CPAN page.

### Q: What programming language is MIME-tools written in?
A: MIME-tools is written in Perl5, making it compatible with Perl applications and systems.

## Why It Matters
MIME-tools plays a crucial role in the Perl ecosystem by providing standardized, reliable tools for handling MIME-compliant messages. As email and other MIME-formatted data remain fundamental to internet communication, having robust Perl modules for processing this data is essential for developers building email clients, web applications, and other systems that need to send or receive MIME-formatted content. The software's dual licensing under both Artistic License and GPL ensures broad adoption and modification rights, while its availability across major Linux distributions demonstrates its stability and importance in the open-source community. By abstracting the complexities of MIME message handling, MIME-tools enables developers to focus on application logic rather than low-level protocol details, significantly reducing development time and potential errors in email-related functionality.

## Notable For
- Being one of the primary Perl modules for MIME message handling, widely used in email processing applications
- Dual licensing under both Artistic License and GPL, providing flexibility for different use cases
- Long-term availability in Debian since 1999, demonstrating stability and reliability
- Cross-platform compatibility across multiple operating systems
- Integration with major package management systems across Linux distributions

## Body
### Technical Architecture
MIME-tools consists of Perl5 modules that implement the MIME (Multipurpose Internet Mail Extensions) standard for handling email and other internet message formats. The modules provide classes and methods for creating MIME messages, parsing received messages, and manipulating various MIME components including attachments, headers, and content types.

### Distribution and Packaging
The software is distributed through CPAN (Comprehensive Perl Archive Network) under the project identifier MIME::Tools, making it easily installable via Perl's standard package management system. Additionally, it has been packaged for major Linux distributions including Debian (where it was available as mime-tools from 1999-2012 and as libmime-tools-perl since 2010), Ubuntu (libmime-tools-perl), Gentoo (dev-perl/MIME-tools), and Guix (perl-mime-tools).

### Licensing and Legal Status
MIME-tools operates under a dual licensing model, offering both the Artistic License and GNU General Public License version 1.0 or later. This approach provides users with flexibility in how they can use and distribute the software, accommodating both permissive and copyleft preferences. The software is copyrighted but freely available for use, study, modification, and distribution under the terms of these licenses.

### Development and Maintenance
As a CPAN project, MIME-tools follows Perl's open-source development model, with contributions and maintenance handled through the Perl community. The software's long-term presence in Debian (since 1999) and its continued availability in current distributions indicates ongoing maintenance and compatibility with modern systems, though specific version information and release dates would need to be verified through the project's official channels.