search for: myadress

Displaying 1 result from an estimated 1 matches for "myadress".

Did you mean: myaddress
2006 Aug 15
0
ActionMailer
Im trying to send an email see the code below: Model: order_mailer.rb class OrderMailer < ActionMailer::Base def send_an_email() @recipients = "myadress@isp.co.uk" @from = "myaddress@isp.co.uk" @subject = "Ruby Test" @body = "The Body" end end View: send_an_email.rhtml <p>Email was sent!.</p> Controller: Admin.rb def sendmail OrderMailer::deliver_send_an_email() # notice the '&...