# More Mailer Extension Help

**URL:** <https://www.ruby-forum.com/t/more-mailer-extension-help/84190>\
**Category:** Radiant CMS\
**Created:** [February 2, 2007, 5:23am UTC](https://www.ruby-forum.com/t/more-mailer-extension-help/84190 "2007-02-02T05:23:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![BJ\_Clark](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/bc79bd/32.png) [@BJ\_Clark](https://www.ruby-forum.com/u/BJ_Clark)\
**Post date:** [February 2, 2007, 5:23am UTC](https://www.ruby-forum.com/t/more-mailer-extension-help/84190/1 "2007-02-02T05:23:50Z")

</div>

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](http://scidept.com)”, “email”=\>“removed\_email\_address@domain.invalid”},  
“url”=\>[“contact”], “action”=\>“show\_page”, “mailer\_name”=\>“contact”,  
“controller”=\>“site”}  
Sent mail:  
From: removed\_email\_address@domain.invalid  
To: removed\_email\_address@domain.invalid  
Subject: Email from [scidept.com](http://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](http://scidept.com)

Name: BJ

Email: removed\_email\_address@domain.invalid

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/](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

---

<div class="post-metadata">

**Author:** ![BJ\_Clark](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/bc79bd/32.png) [@BJ\_Clark](https://www.ruby-forum.com/u/BJ_Clark)\
**Post date:** [February 2, 2007, 2:49pm UTC](https://www.ruby-forum.com/t/more-mailer-extension-help/84190/2 "2007-02-02T14:49:31Z")

</div>

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

Sean

---

<div class="post-metadata">

**Author:** ![BJ\_Clark](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/bc79bd/32.png) [@BJ\_Clark](https://www.ruby-forum.com/u/BJ_Clark)\
**Post date:** [February 2, 2007, 6:58pm UTC](https://www.ruby-forum.com/t/more-mailer-extension-help/84190/3 "2007-02-02T18:58:02Z")

</div>

Sean,  
[http://pastie.caboo.se/37498](http://pastie.caboo.se/37498)

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

BJ

---

<div class="post-metadata">

**Author:** ![BJ\_Clark](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/bc79bd/32.png) [@BJ\_Clark](https://www.ruby-forum.com/u/BJ_Clark)\
**Post date:** [February 2, 2007, 7:01pm UTC](https://www.ruby-forum.com/t/more-mailer-extension-help/84190/4 "2007-02-02T19:01:05Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![BJ\_Clark](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/bc79bd/32.png) [@BJ\_Clark](https://www.ruby-forum.com/u/BJ_Clark)\
**Post date:** [February 2, 2007, 7:10pm UTC](https://www.ruby-forum.com/t/more-mailer-extension-help/84190/5 "2007-02-02T19:10:05Z")

</div>

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
