From: Ryan Leavengood Date: 2006-04-19T04:52:01+09:00 Subject: Re: Google Summer of Code update On 4/18/06, tsuraan@tsuraan.net wrote: > > One project I'd recommend, in case any more ideas are needed, is a > python-grade email parsing library. At work, we do a lot of work with > email handling, so I just can't get away from python. At a bare > minimum, an email parsing library should be able to decode all the > email encodings (base64, quoted-printable, etc), and convert the > encoded header information (the way that unicode headers are converted > into ascii) into their native formats. Other goodies, such as being > able to read an mmap'd email rather than a string would be really nice > :) Somewhat related to this, I think it is entirely too hard to send emails in Ruby. If you have a big Rails app and all that comes with that you can use ActiveMailer, but from what I could see it was too much for just a small app. Here is some idea of what I would like: require 'email' Email.send(:to=>'yoohoo@somewhere.com', :from=>'me@here.com', subject=>'Hi there buddy', msg=>'How are you doing?') This should try its best to just work, but if necessary there could be a YAML file in the HOMEDIR specifying the MTA to use, etc. If there is already something like this which I have missed, please let me know. Or maybe ActiveMailer could be made easier to use stand-alone. Ryan