Hi, I got my feet wet with EM today by attempting to write a smtp server that would echo any message back to the sender. I put my project on github at http://github.com/schwabsauce/smtpecho/tree/master I was not able to find the method I should use for sending a message. I found send_message in the Evma::DatagramProtocol class but not anywhere else. I can see how to send a message with the smtp client but not how to do so with the server. The spec is not in a usable form, any advice on that would be great. -Mike
send_data. Fire and forget. =) On 6/18/08, Michael Schwab <mike.schwab at gmail.com> wrote:> Hi, > > I got my feet wet with EM today by attempting to write a smtp server that > would echo any message back to the sender. I put my project on github at > http://github.com/schwabsauce/smtpecho/tree/master > > I was not able to find the method I should use for sending a message. I > found send_message in the Evma::DatagramProtocol class but not anywhere > else. I can see how to send a message with the smtp client but not how to > do so with the server. > > The spec is not in a usable form, any advice on that would be great. > > -Mike > _______________________________________________ > Eventmachine-talk mailing list > Eventmachine-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/eventmachine-talk >-- --- Thomas H. Ptacek // matasano security read us on the web: http://www.matasano.com/log
http://wilkboardonline.com/roger/rdoc2/ click on ''EventMachine in the middle column, second down--there''s some examples in there. GL! -R
http://wilkboardonline.com/roger/rdoc2/ click on ''EventMachine in the middle column, second down--there''s some examples in there. GL! -R
The latest rdocs are also available on http://eventmachine.rubyforge.org now Aman On Wed, Jun 18, 2008 at 3:12 PM, Roger Pack < roger.pack at leadmediapartners.com> wrote:> http://wilkboardonline.com/roger/rdoc2/ > click on ''EventMachine in the middle column, second down--there''s some > examples in there. > GL! > -R > _______________________________________________ > Eventmachine-talk mailing list > Eventmachine-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/eventmachine-talk >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/eventmachine-talk/attachments/20080618/89127ac7/attachment.html>