Forum: Radiant CMS More Mailer Extension Help

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
BJ Clark (Guest)
on 2007-02-02 05:23
(Received via mailing list)
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"=>"bj@test.com"},
"url"=>["contact"], "action"=>"show_page", "mailer_name"=>"contact",
"controller"=>"site"}
Sent mail:
 From: bjclark@scidept.com
To: bjclark@scidept.com
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: bj@test.com

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
Sean Cribbs (Guest)
on 2007-02-02 14:49
(Received via mailing list)
Can you put your config part in a pastie? (http://pastie.caboo.se)

Sean
BJ Clark (Guest)
on 2007-02-02 18:58
(Received via mailing list)
Sean,
http://pastie.caboo.se/37498

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

BJ
Sean Cribbs (Guest)
on 2007-02-02 19:01
(Received via mailing list)
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
BJ Clark (Guest)
on 2007-02-02 19:10
(Received via mailing list)
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 topic is locked and can not be replied to.