Reading e-Mails

Muralimaran Kumar wrote:

Hi,

I am new to ActionMailer, need to read incoming mails using rails ActionMailer, dont know how to do it.. also need to track bounced mails.

Can anybody help me pls.

Thanks Muralimaran Kumar.

I've never done it but have you seen this: http://wiki.rubyonrails.org/rails/pages/HowToReceiveEmailsWithActionMailer Is there something in the instructions that doesn't work?

Cheers mohit.

My best suggestion is to get the Agile Web Development with Rails by Dave Thomas, DHH et.al.

http://pragmaticprogrammer.com/titles/rails/index.html

It has a complete example of receiving email, as well as sending.

DZ

"email" is an object of TMail class. Read every word on the wiki (http://wiki.rubyonrails.org/rails/pages/HowToReceiveEmailsWithActionMailer) and you should be fine!

Rails Cookbook has a great section on how to do this.