I've been having a world of issues with trying to get ActionMailer
(using Rails 3.0 beta 2) to receive emails from Postfix.

Currently in Postfix's aliases file I have the line:
rails_mailer: | "/home/directory/to/app/script/rails runner
'MailReceive.recieve(STDIN.read)'"

And in my Mailer that should be receiving it I have a method defined as
such:

def receive (email)
...
...
end


However when I send an email to the server and try to manipulate the
email object (for instance comparing email.to against another string) it
tells me it cannot convert from nil to String.  I don't think it's
receiving the email properly but I'm not sure what's failing with the
email forwarding.

Any help would be greatly appreciated.
-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to