Skip to content

jridgewell/emailParser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 

Repository files navigation

emailParser

A Coding Practical before a job interview.

PHP

I avoided using PHP's IMAP functions, it seemed like cheating. This will parse the headers into an array, the message body, and stores any attachments in a array. There is basic usage in the bottom of the implementation.

What else is there to do?

  • Write unit tests
  • Implement a way to search for an attachment
  • Body mime-types

Ruby Gem

More or less the same as the PHP implementation. This will parse the headers into a hash, the message body, and stores any attachments in a array. There is basic usage in the spec files.

What else is there to do?

  • Separate into individual modules
  • Comment code
  • Implement a way to search for an attachment
  • Body mime-types

About

A Coding Practical before a job interview.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages