Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.ruby > #3467
| From | Brian Candler <b.candler@pobox.com> |
|---|---|
| Newsgroups | comp.lang.ruby |
| Subject | Re: Need to build smtp server in Ruby? |
| Date | 2011-04-25 13:31 -0500 |
| Organization | Service de news de lacave.net |
| Message-ID | <7ee15fee05092aec3137eccf0e40634f@ruby-forum.com> (permalink) |
| References | <6a752cfe1421202b25d9a97091e31af4@ruby-forum.com> |
dare ruby wrote in post #994834: > I need to build a simple smtp server in ruby, based on Gserver, which > should support most mail clients and need to log the messages iam > receiving. > > Kindly any one suggest on this, on how to proceed. Sure: 1. Create a subclass of GServer 2. Implement SMTP in it(see RFC 2821) 3. Create an instance of your object and run it For an example of how to build a server with GServer, just read the gserver.rb file in the ruby standard library. But if you're building an SMTP server from scratch, I'm afraid there's no shortcut to understanding how SMTP works - so you need to read RFC 2821. I have to say this sounds like a homework question: otherwise, why would you say it has to be built on GServer? -- Posted via http://www.ruby-forum.com/.
Back to comp.lang.ruby | Previous | Next — Previous in thread | Find similar | Unroll thread
Need to build smtp server in Ruby? dare ruby <martin@angleritech.com> - 2011-04-25 03:10 -0500 Re: Need to build smtp server in Ruby? Brian Candler <b.candler@pobox.com> - 2011-04-25 13:31 -0500
csiph-web