# Re: simple smtp server

**URL:** <https://www.ruby-forum.com/t/re-simple-smtp-server/74608>\
**Category:** Ruby\
**Created:** [November 7, 2006, 10:49am UTC](https://www.ruby-forum.com/t/re-simple-smtp-server/74608 "2006-11-07T10:49:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![phrogz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/2acd7d/32.png) [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Post date:** [November 7, 2006, 10:49am UTC](https://www.ruby-forum.com/t/re-simple-smtp-server/74608/1 "2006-11-07T10:49:55Z")

</div>

From: Hartin, Brian [[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)]

> I second the question. 🙂

> From: removed\_email\_address@domain.invalid [[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)]
> 
> > I’d like to understand if anybody has ever written a very simple  
> > smtp  
> > server (supporting SSL authentication). I’d like to write an  
> > stmp proxy  
> > for my own personal usage and I’m trying to understand where to  
> > start.

I’ve never written a SMTP server, but:  
[Network and Web Libraries](http://phrogz.net/ProgrammingRuby/lib_network.html#NetSMTP)  
is probably a good place to start.

---

<div class="post-metadata">

**Author:** ![phrogz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/2acd7d/32.png) [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Post date:** [November 7, 2006, 10:50am UTC](https://www.ruby-forum.com/t/re-simple-smtp-server/74608/2 "2006-11-07T10:50:53Z")

</div>

On Oct 31, 3:00 pm, “Gavin K.” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I’ve never written aSMTPserver, but:  
> [Network and Web Libraries](http://phrogz.net/ProgrammingRuby/lib_network.html#NetSMTP)  
> is probably a good place to start.

As far as I understand the Net::STMP class is related to client side  
SMTP protocol only. Are you actually suggesting to take a look into and  
by making the Net::SMTP to work with my server, gradually implement an  
STMP server implementation?

Yes, I could do it, but it seems a long road to me.

MM
