Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: The email client server example...Where?

From: chris:starforge:demon at: 22-Jun-2001 14:23

Steve Shireman wrote:
> I have a small window of opportunity to construct a billion-dollar demo > which uses this type of technique.
I think this is what you're after? Set up a forwarder that does something like [robot--yourdomain--com] -> |/home/you/robot.r Now robot.r will be invoked whenever an email is sent to [robot--yourdomain--com] with the email passed in via stdin All you then need to do is write the robot.r script to do something like: #!/path/to/rebol REBOL [ .... ] buffer: make string! 15000 read-io system/ports/input buffer 15000 ... parse buffer, it's a full email (inc header) I can send an eg if needed ... I'm in the middle of writing one of these for my site, and a /zine article on how to use them... Chris -- New sig in the works Explorer2260 Designer and Coder