More Mailer Extension Help

Hello All,
I think I have the Mailer extension really really close to working,
however, I am still having a problem with it.

When I submit a form, it looks like it works in production.log:

Processing SiteController#show_page (for 65.100.142.140 at 2007-02-01
20:58:23) [POST]
Parameters: {“mailer”=>{“message”=>“TEST TEST TEST”, “name”=>“BJ”,
“subject”=>“Email from scidept.com”, “email”=>“[email protected]”},
“url”=>[“contact”], “action”=>“show_page”, “mailer_name”=>“contact”,
“controller”=>“site”}
Sent mail:
From: [email protected]
To: [email protected]
Subject: Email from scidept.com
Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary=mimepart_45c2b6dfb4c6c_fc415d3360f8870150

–mimepart_45c2b6dfb4c6c_fc415d3360f8870150
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: Quoted-printable
Content-Disposition: inline

Subject: Email from scidept.com

Name: BJ

Email: [email protected]

Message: TEST TEST TEST

Sent: Saturday, December 16, 2006=

–mimepart_45c2b6dfb4c6c_fc415d3360f8870150–

Completed in 0.61333 (1 reqs/sec) | DB: 0.52757 (86%) | 200 OK
[http://scidept.com/contact/]

However, the page is going back to /contact/ not /contact/thank-you as
I have specified in my config part, and I’m also not getting the mail
even though it says it’s sending.

Any ideas?
Thanks,
BJ Clark

Can you put your config part in a pastie? (http://pastie.caboo.se)

Sean

Sean,
http://pastie.caboo.se/37498

Yes, I’m sure that /contact/thank-you is there.

BJ

BJ,

Your config part seems pretty normal. The mailer extension will only
refuse
to redirect if there was a delivery or some other sort of error. Is
there a
message generated at the top of your page?

Sean

Sean,
I realized that I was running in Production, so I switched to dev, got
an error, figured out I had :username not :user_name and I am getting
my thank you page.
Looks like I’m good to go (but I can’t check the email address it sent
to from where I’m at so I don’t know if the email got there).
Thanks,
BJ

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs