search for: to_addr

Displaying 2 results from an estimated 2 matches for "to_addr".

Did you mean: io_addr
2009 Apr 09
1
Mailing error in Rails 2.3.2
....8.2) mongrel (1.1.5) pdf-writer (1.1.8) rails (2.3.2) rake (0.8.4) rubyforge (1.0.2) transaction-simple (1.4.0) Here is my test mails code: ----------------------------------------------------- sample_mail.rb -> class SampleMail require ''send_email'' def sample_mail() to_addr = ''login-omLZJFyqO6s4Q++5jOxPmw@public.gmane.org'' subject = ''Mail Testing'' body = ''This is a mail to test the mails.'' hsh={:to=> to_addr, :subject=> subject, :body=> body} SendEMail.send_email(hsh) end end s = Sample...
2007 Feb 04
10
Spec''ing ActionMailer
Good morning (Pacific Time). I have a controller action that, as a side-effect, sends an email to an administrator. I want it to do something like this: specify "when someone successfully signs up, an email should be sent to the administrator with the person''s contact page" do post :signup, {...lots o'' params} response should_be success #