From: Shashank Date Date: 2003-09-02T01:08:19+09:00 Subject: Re: Newbie question re: 'net' "Minero Aoki" wrote in message > This script works for me: > > require 'net/pop' > > host = 'pop.west.cox.net' > port = 110 > user = 'dhtapp' > pass = 'Your Password' > > pop = Net::POP3.new(host, port) > pop.start(user, pass) { > puts "# of mails: #{pop.mails.size}" > pop.each_mail do |mail| > puts mail.header > end > } > Pardon me for piggy-backing on this thread. I have been wanting to ask this for a while but never really got around to it: How do you get (and save) attachments using this library? Thanks, -- shanko