similar to: How to catch an ActionMailer error

Displaying 20 results from an estimated 5000 matches similar to: "How to catch an ActionMailer error"

2006 Apr 28
3
ActionMailer - 550 Error - Net:SMTPFatalError
I have page on my site which sends out e-mails to all of our clients. The idea is that if a client''s e-mail bounces, the server catches the bounce message and flags the client (from the Rails Recipes book). This works perfectly, except in the event that the destination domain is my own. Since I''m running my own postfix server on the same box, instead of accepting the
2005 Dec 17
13
Rookie with ActionMailer
To start out I''ll say that this is the first thing that I''ve ever built that''s been intended to programmatically send email. I''m looking at examples in AWR and also on the wiki. I feel that I sort of have things set up right but I''m getting an error I can''t grok: Net::SMTPFatalError in Home#email_list 550 5.7.1 Unable to relay for
2006 Aug 04
8
Capistrano /usr/bin/env: ruby: no such file or directory
Hi, I''m deploying to a prod linux server via Capistrano, but the last step, running the reaper, won''t complete. Ruby is stored in /usr/local/bin on the server, and I''m deploying from winxp. $ ssh mcalogin@lx07 Password: mcalogin@LX07:~> env | grep "^PATH" PATH=/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/b in:/opt/
2007 Jun 26
0
ActionMailer testing errors rescue... Net::
I am testing various mails sent by my app (on localhost with Postfix - OS X of course...) no proble when postfix is running.. but if Postfix is not running I don''t have any raised error... I tried using the NET lib... rescue Net::SMTPFatalError, Net::SMTPServerBusy, Net::SMTPUnknownError, Net::SMTPSyntaxError, TimeoutError no matter cannot get an error... any info or link will be
2006 Sep 18
0
Mails aren't sent: 550 Administrative prohibition
Hi all I have two Rails applications, an older one and a recent one. I want to send mails with my recent app, so I just copied the following lines from the old app to the new''s environment.rb: ActionMailer::Base.server_settings = { :address => "mail.josh.ch", :port => 25, :domain => "mail.josh.org", :authentication => :login, :user_name =>
2006 Aug 04
1
[Info] TMail included in ActionMailer differs from ''normal'' TMail
Issue: Just to hopefully save someone else a bunch of fun in the future - a modified version of TMail is automatically installed with Rails in the ActionMailer module. This version of TMail (which is required in your rails environment by convention) differs significantly from the package available at: http://i.loveruby.net/en/projects/tmail/ (Second hit on Google for
2007 Aug 10
1
ActionMailer and Dreamhost
Hello, I am running my RoR app on localhost and am trying to implement ActionMailer. In my environment.rb config file, I am pointing to my smtp server on Dreamhost: ActionMailer::Base.delivery_method = :sendmail ActionMailer::Base.server_settings = { :address => ''mail.domain.info'', :port => 25, :domain =>
2006 Aug 15
0
ActionMailer
Im trying to send an email see the code below: Model: order_mailer.rb class OrderMailer < ActionMailer::Base def send_an_email() @recipients = "myadress@isp.co.uk" @from = "myaddress@isp.co.uk" @subject = "Ruby Test" @body = "The Body" end end View: send_an_email.rhtml <p>Email was sent!.</p> Controller: Admin.rb def
2006 Nov 29
1
actionmailer on Debian Etch
Hello, I have two debian etch systems, both have rails. I have installed them with apt, not gems. No problems so far. Now I have tried to use the actionmailer. The results: mage@miranda:~/temp$ rails mailer create create app/controllers [....] create log/test.log mage@miranda:~/temp$ cd mailer mage@miranda:~/temp/mailer$ script/generate mailer Letter test send
2006 Mar 14
1
ActionMailer Error - Please Help!
I''m trying to send an email to myself when someone comments on my site. Here''s my code, if you don''t mind, could you tell me if you see something wrong? #environment.rb # Include your application configuration below ActionMailer::Base.delivery_method = :smtp ActionMailer::Base.server_settings = { :address => "mail.mydomain.com", :domain =>
2006 Nov 05
4
sending email..
i am trying to send email via my app, and although it was working previously (i had to fiddle with the authentication to get it to work correctly) but it was working fine.. today, i tested it, and i am getting this: Net::SMTPFatalError (550-Verification failed for <xxx-ip11aQz5vkFBDgjK7y7TUQ@public.gmane.org> 550-(result of an earlier callout reused). 550 Sender verify failed ):
2006 Mar 14
2
ActionMailer not working correctly
Anyone know why this wouldn''t work? I''m using acts_as_authenticated for my login, and the mail is not getting sent. I''m using dreamhost. Here''s my settings: ActionMailer::Base.delivery_method = :smtp ActionMailer::Base.server_settings = { :address => "mail.mydomain.com", :port => 25, :domain => ''mydomain.com'',
2006 Aug 14
0
ActionMailer in an infinite loop? Looks like framework bug.
I would rather post this on the dev list since it looks like only the developers can explain why this is failing. However, I can''t find where you subscribe to it! Any ideas? Here is my problem. Whenever I try to send an email I get a SystemStackError saying stack level too deep. Here is the exception trace:
2005 Oct 13
0
Does ActionMailer support multiple configurations? Can an ActionMailer child class define a custom configuration?
Hello, I read that the ActionMailer configuration should be set in the environment.rb file (See http://am.rubyonrails.com/ and page 399 in the PP Rails Book). In my case, I have a customer rep admin application that administers multiple websites. One of the features involves emailing the login info for new subscribers that that sign up for the websites by mail. I would like to use the
2007 May 29
0
specs for ActionMailer
Hi, Email notifications are an important part of my app and I would like to spec them. Here''s what I have going so far. It seems to work. I''d appreciate comments/suggestions. Rails script/generate mailer produces tests for the email contents etc. I''ve started by manually converting the generated unit tests to rspec, and then changing/adding examples as I
2008 Apr 09
0
Understanding ActionMailer::Base.new
While writing a small plugin I stumbled upon this strangeness. I have TMail objects stored in database for process that sends them out whenever needed. Obvious way of sending them out would be calling ActionMailer::Base.deliver(my_mail_object) That works just fine. However I have method chain hooking into instance method deliver!: alias_method_chain :deliver!, :something_crazy so I need to
2008 Jun 23
1
ActionMailer Fails To Send Emails Post Authentication
I am trying to send emails via actionmailer. It was working fine before and now suddenly what was working is no longer working! I have one version of the application running in production and whenever I try to run it in production I get the error No connection could be made because the target machine actively refused it. - connect(2) (see details in the attached text file) Now when I try to
2006 Aug 09
3
Can''t update actionmailer gem?
Trying to update actionmailer gem, and it''s complaining about the version of actionpack not being correct. C:\eclipse\workspace>gem update actionmailer Updating installed gems... Attempting remote update of actionmailer Install required dependency actionpack? [Yn] Y ERROR: While executing gem ... (Gem::GemNotFoundException) Could not find actionpack (= 1.12.4) in the repository
2009 Feb 10
0
ActionMailer getaddrinfo: Name or service not known..
When I deploy my rails 2.2.2 app to bluehost, I''m having trouble with the ActionMailer SMTP settings. When I attempt to send emails through Rails/SMTP, I get the following error message: getaddrinfo: Name or service not known google says that this means there''s an error negotiating with the mail server. Here are the settings I''m using for SMTP delivery:
2011 Feb 05
1
ActionMailer::Base.default_url_options
Hi, I want so set a default url for ActionMailer. I know, ActionMailer::Base.default_url_options is deprecated, so I use config.action_mailer.default_url_options = { :host => "localhost" } in my environments (test.rb, production.rb, ...). The problem is, I get a deprecation error and rails won''t start. I have no solution... Any hints for me? Testing started at