From: Anshali Dhande Date: 2009-04-01T22:17:23+09:00 Subject: Re: how to do coding to check mail delivered or not Hi.. thanks for reply i am using deliver method of actionmailer to send mail.. mail is sending successfully but how can i find it delivered or not Thanks Phlip wrote: > Anshali Dhande wrote: >> Hi All, >> Plz tell me how this problem will solved. >> "when mail is send,how we are going to check that mail is delivered or >> not" > > At test time? > > Either set up a lite mail SMTP client, send it your mail, and have your > test > code use POP3 to fetch it... > > or use a mock object and manually test that it's mocking the right > thing. > > Under Rails, for example, the mock is built-in... -- Posted via http://www.ruby-forum.com/.