# Sending mail with attachments

**URL:** <https://www.ruby-forum.com/t/sending-mail-with-attachments/105082>\
**Category:** Ruby\
**Created:** [May 25, 2007, 5:16pm UTC](https://www.ruby-forum.com/t/sending-mail-with-attachments/105082 "2007-05-25T17:16:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![benemson](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/a8b319/32.png) [@benemson](https://www.ruby-forum.com/u/benemson)\
**Post date:** [May 25, 2007, 5:16pm UTC](https://www.ruby-forum.com/t/sending-mail-with-attachments/105082/1 "2007-05-25T17:16:11Z")

</div>

Have been googeling on this one for a bit. There are commercial  
librarys that do this but is there any open source ones?

Ben

---

<div class="post-metadata">

**Author:** ![benemson](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/a8b319/32.png) [@benemson](https://www.ruby-forum.com/u/benemson)\
**Post date:** [May 25, 2007, 5:47pm UTC](https://www.ruby-forum.com/t/sending-mail-with-attachments/105082/2 "2007-05-25T17:47:15Z")

</div>

- Ben E. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) [25.05.2007]:

> Have been googeling on this one for a bit. There are commercial  
> librarys that do this but is there any open source ones?

you can use rmail to build mails with attachments, etc. Have a look at  
it on Rubyforge. For sending them you can use sendmail, smtp, …

Cheers,

Steph.

---

<div class="post-metadata">

**Author:** ![benemson](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/a8b319/32.png) [@benemson](https://www.ruby-forum.com/u/benemson)\
**Post date:** [May 25, 2007, 11:34pm UTC](https://www.ruby-forum.com/t/sending-mail-with-attachments/105082/3 "2007-05-25T23:34:51Z")

</div>

Ben E. wrote the following on 25.05.2007 17:14 :

> Have been googeling on this one for a bit. There are commercial  
> librarys that do this but is there any open source ones?
> 
> Ben

I use ActionMailer, which uses Tmail for all the gory mime/encoding  
processings.

Lionel

---

<div class="post-metadata">

**Author:** ![benemson](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/a8b319/32.png) [@benemson](https://www.ruby-forum.com/u/benemson)\
**Post date:** [May 26, 2007, 2:18am UTC](https://www.ruby-forum.com/t/sending-mail-with-attachments/105082/4 "2007-05-26T02:18:04Z")

</div>

Ben E. wrote:

> Have been googeling on this one for a bit. There are commercial  
> librarys that do this but is there any open source ones?
> 
> Ben  
> What OS?
