Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.ruby > #3451 > unrolled thread
| Started by | dare ruby <martin@angleritech.com> |
|---|---|
| First post | 2011-04-25 03:10 -0500 |
| Last post | 2011-04-25 13:31 -0500 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.lang.ruby
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
| From | dare ruby <martin@angleritech.com> |
|---|---|
| Date | 2011-04-25 03:10 -0500 |
| Subject | Need to build smtp server in Ruby? |
| Message-ID | <6a752cfe1421202b25d9a97091e31af4@ruby-forum.com> |
Dear Friends, 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. Thanks in advance Regards Jose -- Posted via http://www.ruby-forum.com/.
[toc] | [next] | [standalone]
| From | Brian Candler <b.candler@pobox.com> |
|---|---|
| Date | 2011-04-25 13:31 -0500 |
| Message-ID | <7ee15fee05092aec3137eccf0e40634f@ruby-forum.com> |
| In reply to | #3451 |
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/.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.ruby
csiph-web