From: Steven Jenkins Date: 2005-08-04T10:58:50+09:00 Subject: Re: Ruby SMTP server library ? James Britt wrote: > Kirk Haines wrote: >> On Wednesday 03 August 2005 4:27 pm, Lothar Scholz wrote: >>> Is there any library that implements a simple SMTP, allowing me to send >>> emails directly instead using the service from my web hoster that >>> requires stupid things like POP3 before SMTP. >> >> I'd love to see even the front end of something like that. Just >> enough of an SMTP server to receive and email from a client and then >> let the rest of the code decide what to do with it (dump it to a file >> somewhere, or silently discard would both be valuable). > > Yes. It would be sweet to be able to E-mail an application and have it > respond with stats ("Dear program, how are you?"), or encrypt the > content and E-mail updates to your running code while away. I think Lothar was asking about the sending end of the transaction. As for the receiving end, any real MTA gives you the ability to specify the delivery agent--deliver to a mailbox, pipe to a process, whatever. It's not Ruby, but it'd be pretty simple to set up Postfix to do just what you said. Postfix is pretty. Steve