Hey Adam, interesting question. Of course, there's Net::HTTP which is actually quite easy to use.
http://www.ruby-doc.org/stdlib/libdoc/net/http/rdoc/index.html But is there any particular reason you need to send this request through an entire HTTP Get request? Maybe you need to run this through some kind of template to format the report, but if that action is running locally, then presumably you can render it directly from right there in the mailer. That will save you from blocking one of your Rails processes and the overhead of an HTTP request. I'm not sure how exactly you're generating your PDF. If you're using, say, PDF::Writer, just use it directly to load and render your show.rpdftemplate. I've never done dynamic PDF generation so I don't know if that's a trivial task, but it's worth checking out. -- Nick Zadrozny beyondthepath.com --~--~---------~--~----~------------~-------~--~----~ SD Ruby mailing list sdruby@googlegroups.com http://groups.google.com/group/sdruby -~----------~----~----~----~------~----~------~--~---