# Mailread from stdlib

**URL:** <https://www.ruby-forum.com/t/mailread-from-stdlib/103668>\
**Category:** Ruby\
**Created:** [May 9, 2007, 2:25am UTC](https://www.ruby-forum.com/t/mailread-from-stdlib/103668 "2007-05-09T02:25:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alex\_VSBreger](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c37758/32.png) [@Alex\_VSBreger](https://www.ruby-forum.com/u/Alex_VSBreger)\
**Post date:** [May 9, 2007, 2:25am UTC](https://www.ruby-forum.com/t/mailread-from-stdlib/103668/1 "2007-05-09T02:25:17Z")

</div>

Hello

mailread is written very bad.  
It unable to extract “From” field from mailbox (it can differ from any  
other header)  
Also it cann’t get all values from repeated headers, such as  
“Received”, only the last one

---

<div class="post-metadata">

**Author:** ![Alex\_VSBreger](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c37758/32.png) [@Alex\_VSBreger](https://www.ruby-forum.com/u/Alex_VSBreger)\
**Post date:** [May 9, 2007, 2:36am UTC](https://www.ruby-forum.com/t/mailread-from-stdlib/103668/2 "2007-05-09T02:36:18Z")

</div>

Hello again

It also destroys Headers, for example:  
MIME-Version header becomes Mime-version  
I think, it is wrong

---

<div class="post-metadata">

**Author:** ![Alex\_VSBreger](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c37758/32.png) [@Alex\_VSBreger](https://www.ruby-forum.com/u/Alex_VSBreger)\
**Post date:** [May 9, 2007, 6:35pm UTC](https://www.ruby-forum.com/t/mailread-from-stdlib/103668/3 "2007-05-09T18:35:58Z")

</div>

On May 8, 4:36 pm, “Alex V. Breger” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > mailread is written very bad.  
> > It unable to extract “From” field from mailbox (it can differ from any  
> > other header)  
> > Also it cann’t get all values from repeated headers, such as  
> > “Received”, only the last one

Have you looked at TMail? [http://i.loveruby.net/en/projects/tmail/](http://i.loveruby.net/en/projects/tmail/)

I think there is a gem called ActionMailer, but it depends on  
actionpack and activesupport I believe.

Mike B.
