# SMTP + serial ports

**URL:** <https://www.ruby-forum.com/t/smtp-serial-ports/194746>\
**Category:** Ruby\
**Created:** [September 9, 2010, 8:56pm UTC](https://www.ruby-forum.com/t/smtp-serial-ports/194746 "2010-09-09T20:56:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![watts](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/e99b99/32.png) [@watts](https://www.ruby-forum.com/u/watts)\
**Post date:** [September 9, 2010, 8:56pm UTC](https://www.ruby-forum.com/t/smtp-serial-ports/194746/1 "2010-09-09T20:56:08Z")

</div>

Hi, i’m kinda new at ruby, and i wanna know (didnt even install  
ruby-serial), if there is anyone willing to help me at my project.  
What i need is, “Listen on serial port for signal changing at pins” ie,  
wait for analog input, and then, “use SMTP to send from one GMail  
account to other a notification mail.” (i think this one is clear)

If you have any suggestions how should i do the code etc, i’ll be glad  
for an answer.

ALSO: if you have idea which distro should be good for ruby (AFAIK gem  
and dev stuff fail at windows ATM) i’d be glad to know which you think  
is “the best” - linux expirience aren’t problem. will try on Ubuntu  
(because i’m (confession) too lazy for installing arch =)

Cheers  
watts at freenode IRC

---

<div class="post-metadata">

**Author:** ![watts](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/e99b99/32.png) [@watts](https://www.ruby-forum.com/u/watts)\
**Post date:** [September 11, 2010, 1:37pm UTC](https://www.ruby-forum.com/t/smtp-serial-ports/194746/2 "2010-09-11T13:37:27Z")

</div>

RTFM?

I think you’d actually learn something if you did it yourself, instead  
of asking others trying to do your homework.  
For the distro thing: just go with Ubuntu. Install ruby, gem install  
ruby-serial.  
Your serial port is probably at /dev/ttyS0.

// Wouter

---

<div class="post-metadata">

**Author:** ![watts](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/e99b99/32.png) [@watts](https://www.ruby-forum.com/u/watts)\
**Post date:** [September 24, 2010, 8:04pm UTC](https://www.ruby-forum.com/t/smtp-serial-ports/194746/3 "2010-09-24T20:04:21Z")

</div>

Well i kinda thought that you will see that “Wannabe intelectuals”  
(thats how our headmistress calls us) or, gymnasium guys, dont have such  
thing for homework, and i thought you could help me out even at starting  
with the ruby. however, ubuntu installment is going on now and will test  
it out soon

---

<div class="post-metadata">

**Author:** ![watts](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/e99b99/32.png) [@watts](https://www.ruby-forum.com/u/watts)\
**Post date:** [September 25, 2010, 4:36pm UTC](https://www.ruby-forum.com/t/smtp-serial-ports/194746/4 "2010-09-25T16:36:08Z")

</div>

Well i said that i’d need a help 😉 not that i want somebody do it for  
me - would just need lots of time to get started with it 🙂  
and yeah dont worry, i do typos al ot - so translating intelectuals to  
english ended up without 2nd L 😉

Well i installed ubuntu and ruby. will start coding tomorrow (personal  
issues)
