ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> ruby-rails
ruby-rails
Re: [Rails] Salted Hash Login Generator + ActionMailer = :(
by Stephen Caudill other posts by this author
Sep 9 2005 11:09AM messages near this date
Re: [Rails] Salted Hash Login Generator + ActionMailer = :( | Re: [Rails] Salted Hash Login Generator + ActionMailer = :(
On 9/9/05, Kimball Larsen <kimball@[...].com>  wrote:
>  I've dug through the ActionMailer docs to see if I can make it any
>  noisier about what is going wrong, but I can't find anything other
>  than to redirect the logs it is already producing to another
>  destination.

try inserting a raise statement in the signup method just after the
rescue statement... something like:

 def signup
    ....
    rescue
    raise
      ...
    end
  end

that will stop the method from failing with a pretty error and give
you the real error.  My best guess would be that it's just a
misconfiguration in your actionmailer settings.  Depending on what
sort of information your SMTP server is expecting  the whole affair
can get a bit dodgy.  Try removing everything but the bare necessities
(domain and port) and building back up (referring to the real error
messages provided by raise) from there until it starts working again.

HTH,
Stephen
_______________________________________________
Rails mailing list
Rails@[...].org
http://lists.rubyonrails.org/mailman/listinfo/rails
Thread:
Kimball Larsen
Kimball Larsen
Stephen Caudill
Derek Haynes
Kimball Larsen

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved