Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

mwalker/smail

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README for smail

SMail is a very lightweight email library, based on Perl's Email::Simple.

It implements the minimal functions to enable the easy creation or parsing of an email message that conforms to RFC 2822.

It is intended to be the first of a family of SMail::* modules that will deal with many common email standards.

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

Download & Install

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

Synopsis

email = SMail.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 is maintained by Matthew Walker matthew@walker.wattle.id.au

Contributors include:

Pete Yandell

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

About

A simple RFC2822 email parser

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.