# Sending email to multiple recipients

**URL:** <https://www.ruby-forum.com/t/sending-email-to-multiple-recipients/145012>\
**Category:** Ruby\
**Created:** [August 5, 2008, 7:22am UTC](https://www.ruby-forum.com/t/sending-email-to-multiple-recipients/145012 "2008-08-05T07:22:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![slogeshwaran](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/7ea924/32.png) [@slogeshwaran](https://www.ruby-forum.com/u/slogeshwaran)\
**Post date:** [August 5, 2008, 7:22am UTC](https://www.ruby-forum.com/t/sending-email-to-multiple-recipients/145012/1 "2008-08-05T07:22:43Z")

</div>

Hello,  
I have to send mail to multiple recipients. I have one text file, it  
contains emailaddress. In ruby program i should parse the emailaddresses  
and send to multiple recipients. for example. Just parsing it into an  
Array and either iterate over the array (sending one e-mail for each  
address)  
Give any ideas for this one, also give related program for this.

Thanks in advance

---

<div class="post-metadata">

**Author:** ![slogeshwaran](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/7ea924/32.png) [@slogeshwaran](https://www.ruby-forum.com/u/slogeshwaran)\
**Post date:** [August 5, 2008, 8:54am UTC](https://www.ruby-forum.com/t/sending-email-to-multiple-recipients/145012/2 "2008-08-05T08:54:50Z")

</div>

Logesh S. wrote:

> ```
> Give any ideas for this one, also give related program for this.
> 
> ```

🙂

Show some code you’ve been writing and plenty of people might be willing  
to help you make it better.

> Thanks in advance

Sure.

–  
James B.

[www.happycamperstudios.com](http://www.happycamperstudios.com) - Wicked Cool Coding  
[www.jamesbritt.com](http://www.jamesbritt.com) - Playing with Better Toys  
[www.ruby-doc.org](http://www.ruby-doc.org) - Ruby Help & Documentation  
[www.rubystuff.com](http://www.rubystuff.com) - The Ruby Store for Ruby Stuff
