[Radiant] Re: Mailer extension error when submitting form

2011-06-21 Thread JT
Through a process of elimination, I've narrowed this down to two issues. The undefined method... error seems to be related purely with the form validation functionality. If I leave any of the required fields blank when submitting the form, the error appears when the page reloads. For now I've

[Radiant] Re: Mailer extension error when submitting form

2011-06-20 Thread JT
Pete, Thanks for the reply. I don't see anything useful in the log file unfortunately. I can see the POST occur, but nothing more. It looks as though this issue occurs before the email gets sent. I have some form validation in place, and if I leave everything blank, the form reloads, the

[Radiant] Re: Mailer extension error when submitting form

2011-06-20 Thread Cleverlemming
I think the radiant mailer extension creates a mail object, which the actionmailer gem sends. If Actionmailer doesn't write a sent mail message to the log file ( logger.info Sent mail to #{Array(recipients).join(', ')} ) and there are no subsequent Net::SMTP errors, it seems like the issue is in

[Radiant] Re: Mailer extension error when submitting form

2011-06-18 Thread Cleverlemming
I'd start by taking a look at log/development.log and seeing if there's some useful information you can post there. Also, it'd be good to know if the page is actually sending an email before it throws an error. If the mail is being sent, it could be an issue with redirect_to: on the mailer page