Ruby Email handling / TMail / ActionMailer

Hi,

I've used TMail in the past, mainly in conjunction with ActionMailer.

I now need email parsing outside of rails and don't really need
ActionMailer. I know there have been changes to the TMail source that
is included in ActionMailer. I don't think that these changes have
been fed back into standard TMail itself. If I wanted to use the
latest TMail outside of rails, should I just include ActionMailer gem
and use TMail from there or use the standalone version from
i.loveruby.net?

Alternatively, I know there are a few other mail parsing libs for Ruby.
Can anyone suggest a good alternative?

Thanks in advance,

Chris

Hi,
    I am trobling wit an email problem for getting my messages.I have
to retrieve my attachements from my inbox messages.i dint' get a
solution yet.can you plz give me a solution to me.I got "Running Mail
Importer...
execution expired
Finished Mail Importer " error.

my code is

require "rubygems"
require 'net/pop'

def index

puts "Running Mail Importer..."
begin
if Net::POP3.start("pop.gmail.com", nil, "poornima.dgl@gmail.com",
"password")
  Net::POP3.start("pop.gmail.com", nil, "poornima.dgl@gmail.com",
"password") do |pop|
  puts "After....."
  if pop.mails.empty?
    puts "NO MAIL"
  else
    pop.mails.each do |email|
      begin
        puts "receiving mail..."
        Notifier.receive(email.pop)
        email.delete
      rescue Exception => e
        puts "Error receiving email at " + Time.now.to_s + "::: " +
e.message
      end
    end
  end
end
else
puts "Not Connecting..."
end
rescue Exception => e
  puts e
end

puts "Finished Mail Importer."

end

···

--
Posted via http://www.ruby-forum.com/.