# Handle incoming mail

**URL:** <https://www.ruby-forum.com/t/handle-incoming-mail/134398>\
**Category:** Rails\
**Created:** [April 10, 2008, 2:44pm UTC](https://www.ruby-forum.com/t/handle-incoming-mail/134398 "2008-04-10T14:44:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tarscher](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/8491ac/32.png) [@Tarscher](https://www.ruby-forum.com/u/Tarscher)\
**Post date:** [April 10, 2008, 2:44pm UTC](https://www.ruby-forum.com/t/handle-incoming-mail/134398/1 "2008-04-10T14:44:35Z")

</div>

HI all,

I would like to write a very simple mailinglist and wonder if (and  
how) this can be done with Rails.

I have usergroups and want to automatically make a mailinglist for  
each group. eg a group is named testers . When you send a mail to  
removed\_email\_address@domain.invalid all the users in the testers group should receive  
the mail.

I don’t know whether Rails can handle incoming mails?

Thanks in advance,  
Stijn

---

<div class="post-metadata">

**Author:** ![Tarscher](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/8491ac/32.png) [@Tarscher](https://www.ruby-forum.com/u/Tarscher)\
**Post date:** [April 10, 2008, 3:37pm UTC](https://www.ruby-forum.com/t/handle-incoming-mail/134398/2 "2008-04-10T15:37:17Z")

</div>

First of all, i would not count on ActionMailer to handle large  
quantities of mailing lists since it’s none queued and the mails are  
sent one after another.  
i suggest you might consider a use of a 3rd party mailing list  
service.  
as for incoming mail, check out this page  
[http://blog.craigambrose.com/past/2008/2/9/respond\_toemail\_or\_how\_to\_handle/](http://blog.craigambrose.com/past/2008/2/9/respond_toemail_or_how_to_handle/)

if you insist of using ActionMailer, try this to accelerate things a  
little bit by enabling threaded operations.

> **[Mean Mail Machine](http://pandejo.blogspot.com/2007/08/mean-mail-machine.html)**
>
> i was trying the other day to create some sort of a newsletter. sadly it took me about 2 hours to generate and send 51000 emails (not spam :...
