Rizwan R. wrote:
Now I am getting the following error. Is there anything in particular
I can do to make it work.
You have a nil object when you didn’t expect it!
You might have expected an instance of Array.
The error occured while evaluating nil.
I just thought of something that might cause this – Let’s say the
following is my emailer form:
Name: <r:mailer:text name=“name” />
City: <r:mailer:text name=“city” />
Email: <r:mailer:text name=“email” />
And here’s my ‘config’ part:
subject: From the website of Whatever
from: [email protected]
- [email protected]
I would also have an ‘email’ part:
<r:mailer:get name=“name”/> submitted the following:
City = <r:mailer:get name=“city”/>
Email = <r:mailer:get name=“email”/>
Now, I’d need to make sure the name of the mailer:form exists in the
mailers: config section. In the example above, they are both named
‘contact’. So if you use something different, be sure they match up.
Why did I make it where you have to name the mailer form configuration?
Simple. Because this will allow for multiple mailers on the same page.
I think I need to work on documentation for the mailer…