Skip to content

cheadle/multipart.rb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rmailmod

rmailmod is a ruby module for parsing multipart emails in RFC 2822 format. An email is a wrapper for a part. Every part has a header, body and sometimes nested parts.

Demo

ruby rmailmod.rb

Next Steps

Next steps might be to parse 'Received' headers into an array in the Header object. That would allow easy access the 'Received' header chain for features like spam detection. Perhaps also add support for a queue or collection of emails. Also need to add Parser::collect_attachments and Email#attachments to collect and access attached files.

License

This software may be redistributed under the terms specified in the MIT-LICENSE file.

About

Ruby module for parsing multipart emails

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages