Project

smail-mime

0.0
No commit activity in last 3 years
No release in over 3 years
A simple MIME email parser
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 1.0.5

Runtime

>= 0.0.7
 Project Readme

README for smail-mime

SMail::MIME is an extention of the SMail gem to handle MIME encoded email. It is based on Perl's Email::MIME.

It implements the minimal functions to enable the easy creation or parsing of a MIME email message that conforms to the relevant RFCs.

It is still a work in progress and the interface may change.

Download & Install

sudo gem install mwalker-smail-mime --source http://gems.github.com

Synopsis

email = SMail::MIME.new(text)

from_header = email.header("From")
received = email.headers("Received")

email.header_set("From", "matthew@walker.wattle.id.au")

old_body = email.body
email.body = "Hello World!\nMatthew"

print email.to_s

Contributors

SMail::MIME is maintained by Matthew Walker matthew@walker.wattle.id.au

Contributors include:

Pete Yandell

Thanks to the Perl Email Project's Email::MIME