Marcelo de Moraes Serpa
2012-Apr-21 03:53 UTC
Receiving and processing emails with Ruby - SMTP server
Hi, Might not be the right place to post this, but doesn''t hurt to try. Does anyone know of a nice Ruby SMTP server implementation out there? I''ve searched around but only found some code snippets. I''d like users from my web app to be able to interact with the application by sending emails, so each user would get some unique id like: a3bv424b52fff-eqYCvhb1vHhWk0Htik3J/w@public.gmane.org, and sending a message to it would trigger some logic in the server related to the account of the user. The alternative is to use postfix, but I''d rather avoid the learning curve. Any hints appreciated, Thanks in advance! - Marcelo. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Here''s one: https://github.com/aarongough/mini-smtp-server Greg> Does anyone know of a nice Ruby SMTP server implementation out there? I''ve > searched around but only found some code snippets. I''d like users from my > web app to be able to interact with the application by sending emails, so > each user would get some unique id like: a3bv424b52...-eqYCvhb1vHhWk0Htik3J/w@public.gmane.org, and > sending a message to it would trigger some logic in the server related to > the account of the user. The alternative is to use postfix, but I''d rather > avoid the learning curve.-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Matt Jones
2012-Apr-22 19:36 UTC
Re: Receiving and processing emails with Ruby - SMTP server
On Friday, 20 April 2012 23:53:12 UTC-4, FFighter wrote:> > Hi, > > Might not be the right place to post this, but doesn''t hurt to try. > > Does anyone know of a nice Ruby SMTP server implementation out there? I''ve > searched around but only found some code snippets. I''d like users from my > web app to be able to interact with the application by sending emails, so > each user would get some unique id like: a3bv424b52fff-eqYCvhb1vHhWk0Htik3J/w@public.gmane.org, and > sending a message to it would trigger some logic in the server related to > the account of the user. The alternative is to use postfix, but I''d rather > avoid the learning curve. >The mini-smtp server posted previously might work, but if you''re going to be doing a lot of email stuff I''d recommend using postfix anyways - it''s got a lot more power in terms of filtering mail, retrying deliveries, ratelimiting spammers, verifying SPF + DKIM headers, etc: all stuff that you''d have to re-implement manually with a Ruby server. --Matt Jones -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/-pH4JKch6ssJ. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Marcelo de Moraes Serpa
2012-Apr-23 03:13 UTC
Re: Re: Receiving and processing emails with Ruby - SMTP server
@Greg, thank you for that! I''ll check it out. @Matt, it''s just a prototype as of now, I''d rather keep it simple so the idea of having to mess with postfix kind of scares me. But I''ll keep it in mind :) Cheers! - Marcelo. On Sun, Apr 22, 2012 at 2:36 PM, Matt Jones <al2o3cr-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > On Friday, 20 April 2012 23:53:12 UTC-4, FFighter wrote: >> >> Hi, >> >> Might not be the right place to post this, but doesn''t hurt to try. >> >> Does anyone know of a nice Ruby SMTP server implementation out there? >> I''ve searched around but only found some code snippets. I''d like users from >> my web app to be able to interact with the application by sending emails, >> so each user would get some unique id like: a3bv424b52fff@mywebapp.**com<a3bv424b52fff-eqYCvhb1vHhWk0Htik3J/w@public.gmane.org>, >> and sending a message to it would trigger some logic in the server related >> to the account of the user. The alternative is to use postfix, but I''d >> rather avoid the learning curve. >> > > The mini-smtp server posted previously might work, but if you''re going to > be doing a lot of email stuff I''d recommend using postfix anyways - it''s > got a lot more power in terms of filtering mail, retrying deliveries, > ratelimiting spammers, verifying SPF + DKIM headers, etc: all stuff that > you''d have to re-implement manually with a Ruby server. > > --Matt Jones > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/rubyonrails-talk/-/-pH4JKch6ssJ. > > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.