# Commonly used email library

**URL:** <https://www.ruby-forum.com/t/commonly-used-email-library/56537>\
**Category:** Ruby\
**Created:** [March 31, 2006, 11:22pm UTC](https://www.ruby-forum.com/t/commonly-used-email-library/56537 "2006-03-31T23:22:38Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![sin\_kanti](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/76d3ee/32.png) [@sin\_kanti](https://www.ruby-forum.com/u/sin_kanti)\
**Post date:** [March 31, 2006, 11:22pm UTC](https://www.ruby-forum.com/t/commonly-used-email-library/56537/1 "2006-03-31T23:22:38Z")

</div>

Hi all,

I search RAA for email library and found many email libraries out there.  
I don’t know that which one that i should start with.

My need is just to send email to a group which their email address  
kept in a flat file.  
Please give me some libraries that commonly used and stable.

Thank you in advance,

Sinchai

---

<div class="post-metadata">

**Author:** ![sin\_kanti](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/76d3ee/32.png) [@sin\_kanti](https://www.ruby-forum.com/u/sin_kanti)\
**Post date:** [April 1, 2006, 12:48am UTC](https://www.ruby-forum.com/t/commonly-used-email-library/56537/2 "2006-04-01T00:48:23Z")

</div>

sin kanti wrote:

> Hi all,
> 
> I search RAA for email library and found many email libraries out there.  
> I don’t know that which one that i should start with.
> 
> My need is just to send email to a group which their email address  
> kept in a flat file.  
> Please give me some libraries that commonly used and stable.

I use the SMTP lib bundled with Ruby for basic E-mail tasks. It’s very  
simple to use.

–  
James B.

[http://www.ruby-doc.org](http://www.ruby-doc.org) - Ruby Help & Documentation  
[Ruby Code & Style](http://www.artima.com/rubycs/) - The Journal By & For Rubyists  
[http://www.rubystuff.com](http://www.rubystuff.com) - The Ruby Store for Ruby Stuff  
[http://refreshingcities.org](http://refreshingcities.org) - Design, technology, usability

---

<div class="post-metadata">

**Author:** ![sin\_kanti](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/76d3ee/32.png) [@sin\_kanti](https://www.ruby-forum.com/u/sin_kanti)\
**Post date:** [April 1, 2006, 1:09am UTC](https://www.ruby-forum.com/t/commonly-used-email-library/56537/3 "2006-04-01T01:09:54Z")

</div>

> I use the SMTP lib bundled with Ruby for basic E-mail tasks. It’s very  
> simple to use.

But lacks TLS so you can’t send via gmail ☹

T.

---

<div class="post-metadata">

**Author:** ![sin\_kanti](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/76d3ee/32.png) [@sin\_kanti](https://www.ruby-forum.com/u/sin_kanti)\
**Post date:** [April 1, 2006, 1:43am UTC](https://www.ruby-forum.com/t/commonly-used-email-library/56537/4 "2006-04-01T01:43:10Z")

</div>

Hi,  
----- Original Message -----  
From: “Austin Z.” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
To: “ruby-talk ML” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
Sent: Saturday, April 01, 2006 8:23 AM  
Subject: Re: commonly used email library

> On 3/31/06, Trans [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > > I use the SMTP lib bundled with Ruby for basic E-mail tasks. It’s very  
> > > simple to use.
> > 
> > But lacks TLS so you can’t send via gmail ☹
> 
> GMailer is supposed to work for this, but google appears to have  
> changed the protocol and it now no longer works (and fails silently).
> 
> -austin  
> Google didn’t changed the protocol.  
> It was due to ruby 1.8.3,1.8.4 http post bug.  
> Try GMailer 0.1.1  
> [http://rubyforge.org/frs/?group\_id=869](http://rubyforge.org/frs/?group_id=869)

Regards,  
Park H.

---

<div class="post-metadata">

**Author:** ![sin\_kanti](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/76d3ee/32.png) [@sin\_kanti](https://www.ruby-forum.com/u/sin_kanti)\
**Post date:** [April 3, 2006, 3:37pm UTC](https://www.ruby-forum.com/t/commonly-used-email-library/56537/5 "2006-04-03T15:37:05Z")

</div>

Hi Sinchai,

On 3/31/06, sin kanti [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> My need is just to send email to a group which their email address  
> kept in a flat file.  
> Please give me some libraries that commonly used and stable.

SimpleMail ([http://simplemail.rubyforge.org/](http://simplemail.rubyforge.org/)) makes it easy to send  
mails in both text and html format. It can also handle attachments.

- Dimitri

---

<div class="post-metadata">

**Author:** ![sin\_kanti](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/76d3ee/32.png) [@sin\_kanti](https://www.ruby-forum.com/u/sin_kanti)\
**Post date:** [April 3, 2006, 5:59pm UTC](https://www.ruby-forum.com/t/commonly-used-email-library/56537/6 "2006-04-03T17:59:05Z")

</div>

On 3/31/06, Park H. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > GMailer is supposed to work for this, but google appears to have  
> > changed the protocol and it now no longer works (and fails silently).  
> > Google didn’t changed the protocol.  
> > It was due to ruby 1.8.3,1.8.4 http post bug.  
> > Try GMailer 0.1.1  
> > [http://rubyforge.org/frs/?group\_id=869](http://rubyforge.org/frs/?group_id=869)

Hmmm. I haven’t upgrade to 1.8.3 or 1.8.4 and it failed. I will try  
upgrading, though, in the event that 0.1.1 fixes the problem in any  
case.

-austin

---

<div class="post-metadata">

**Author:** ![sin\_kanti](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/76d3ee/32.png) [@sin\_kanti](https://www.ruby-forum.com/u/sin_kanti)\
**Post date:** [April 1, 2006, 1:24am UTC](https://www.ruby-forum.com/t/commonly-used-email-library/56537/7 "2006-04-01T01:24:59Z")

</div>

On 3/31/06, Trans [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > I use the SMTP lib bundled with Ruby for basic E-mail tasks. It’s very  
> > simple to use.
> 
> But lacks TLS so you can’t send via gmail ☹

GMailer is supposed to work for this, but google appears to have  
changed the protocol and it now no longer works (and fails silently).

-austin
