similar to: ActionMailer getaddrinfo: Name or service not known..

Displaying 20 results from an estimated 1000 matches similar to: "ActionMailer getaddrinfo: Name or service not known.."

2006 May 21
3
Sending mail times out (ActionMailer)
Hi! I''m on debian. Sending a mail from Rails times out: Timeout::Error (execution expired): /usr/local/lib/ruby/1.8/timeout.rb:54:in `new'' /usr/local/lib/ruby/1.8/net/protocol.rb:206:in `old_open'' /usr/local/lib/ruby/1.8/timeout.rb:56:in `timeout'' /usr/local/lib/ruby/1.8/timeout.rb:76:in `timeout''
2006 Aug 16
1
ActionMailer cannot use SMTP for email delivery...
RoR aficionados, I''ve configured ActionMailer for SMTP delivery of emails, and have configured "config/environment.rb" accordingly, including the address of our (external, but fully operational - checked and double-checked :-) SMTP server. Sending out emails from my Windows development laptop works without a hitch, but on a Linux staging server using the exact same source
2009 Apr 29
1
Errno::ECONNREFUSED (Connection refused - connect(2)) Act
Hi All, I encountered with following error when i try to send e-mail in production mode. Errno::ECONNREFUSED (Connection refused - connect(2)): /usr/lib/ruby/1.8/net/protocol.rb:206:in `initialize'' /usr/lib/ruby/1.8/net/protocol.rb:206:in `new'' /usr/lib/ruby/1.8/net/protocol.rb:206:in `old_open'' /usr/lib/ruby/1.8/timeout.rb:62:in `timeout''
2006 Jul 28
0
error sending emails
i get his error when using ActionMailer: /usr/local/lib/ruby/1.8/timeout.rb:54:in `new'' /usr/local/lib/ruby/1.8/net/protocol.rb:206:in `old_open'' /usr/local/lib/ruby/1.8/timeout.rb:56:in `timeout'' /usr/local/lib/ruby/1.8/timeout.rb:76:in `timeout'' /usr/local/lib/ruby/1.8/net/protocol.rb:206:in `old_open'' /usr/local/lib/ruby/1.8/net/smtp.rb:393:in
2008 Sep 04
1
actionmailer sends from commandline but not from web
Hello all, I''m having trouble with this simple email class I made for postbacks. When I run this from the command line an email is sent, however when I access this .rb file through a browser nothing happens. ------------------------- #!/usr/bin/ruby require "rubygems" require "action_mailer" ActionMailer::Base.delivery_method = :smtp
2006 Feb 28
0
Sending email in functional test times out
I''m writing a functional test to see if an email was generated from a particular action. The action of course sends an email at some point..but the test says it times out. config.action_mailer.delivery_method is set to :test in config/environments/test.rb, not sure why it would be ignoring that. If I take out my email config from environment.rb, the test runs fine. Here''s the
2008 Mar 13
0
mail problem and rails 2.0.2
Hello, I have some code for sending mails. The same worked perfectly on a machine running rails version 1.2.5. Now i have moved the entire application to another system which is running rails 2.0.2 Whenever i try to send a mail i get an error ''execution expired'' Please go through the following code if you can figure out something wrong. Do i need to change something for
2009 Mar 17
1
ActionMailer works for gmail/yahoo, but not for other email addresses...HELP!
I have a rails app that can send emails to gmail, yahoo accounts. But when it comes to more obscure accounts like email-VB3JyQctZj/QT0dZR+AlfA@public.gmane.org or email-yvl6RSr0Ftk@public.gmane.org, the mail never arrives even though the log shows that the email was sent. Any ideas why this may be happening? I have sent an email directly through the same web server through the command line
2006 Jun 01
0
Socket error in ActionMailer class
I am getting sporadic socket error in actionmailer class. Anyone has solution for this? On refresh the mail is send properly. It does not happen everytime. SocketError in Solution#create_zone getaddrinfo: no address associated with hostname. RAILS_ROOT: C:/DOCUME~1/JONFER~1/LOCALS~1/Temp/tar2rubyscript.d.1424.1/zdc/config/.. Application Trace | Framework Trace | Full Trace
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
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 =>
2007 Nov 17
2
ActionMailer 501: sender address must contain a domain
Hi there guys! Im copying an email example from "Agile web development with rails", but i keep getting a "501: sender address must contain a domain" error. Heres my code in my enviroment.rb. Real values replaced with "something": [code] config.action_mailer.delivery_method = :smtp config.action_mailer.default_charset ="utf-8"
2006 Jun 08
2
ActionMailer timeout problems
Hi, I am having problems getting ActionMailer to send any mail. I am developing on windows XP with lighttpd and scgi. my settings are as follows(my.domain.net is replaced with a correct mail server): config.action_mailer.server_settings = { :address => "my.domain.net", :port => 25, :domain => "domain.net" } config.action_mailer.raise_delivery_errors = true
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
2006 Aug 01
2
actionmailer cant find template in backgroundrb
Im trying to send mails from a backgroundrb worker and it seems like ActionView cant find my template. same code works as a rake task. here my worker: class StatusMailWorker < BackgrounDRb::Rails repeat 1.minutes # <-- hehe! def do_work(args) [...blah...] NotificationMailer.create_daily_report(users, rep, items) end end end its throwing the following error: No
2009 Feb 26
1
Line breaks removed from ActionMailer template
I''ve been googling and searching this list for about an hour now, and maybe I''m just not thinking of the common nomenclature for what to be looking for, but I can''t find jack. Here''s the deal: I''ve got an application coded correctly, sending the mail out, and the template is structured correctly (method_name.erb is the filename) with LF line breaks
2005 Dec 15
1
Problem with ActionMailer -- which looks really cool!
Whatever I do to try to connect including trying different ISPs, I get the same errors, here they are: Errno::ECONNREFUSED in Events#send_my_email Connection refused - connect(2) Application Trace | Framework Trace | Full Trace /Applications/Locomotive/Bundles/rails-0.14.1-min.bundle/Contents/ Resources/ports/lib/ruby/1.8/net/protocol.rb:83:in `initialize''
2006 Jun 13
0
ActionMailer: bug or not a bug?
I ran across this when trying to use ActionMailer separately from rails: [09:38 AM] [bmoyles@bmoyles-mac] ~/tmp $ cat foo.rb #!/usr/bin/env ruby require ''logger'' logger = Logger.new(STDOUT) logger.info ''Testing-1-2-3'' [09:38 AM] [bmoyles@bmoyles-mac] ~/tmp $ ./foo.rb I, [2006-06-13T09:38:26.171334 #11749] INFO -- : Testing-1-2-3 [09:38 AM]
2006 Mar 01
0
Possible bug in ActionMailer (with patch)
I wanted to write the following code, with emphasis on adding my own headers to the second part with the :headers parameter. class ArticleMailer < ActionMailer::Base def test_message subject ''This is a test'' recipients ''elan@bluemandrill.com'' from ''Exemplary Products <info@example.com>''
2011 Apr 22
0
ActionMailer : Not able to send out mails
Hello, I have the following code in my environment/development.rb config.action_mailer.raise_delivery_errors = true; config.action_mailer.delivery_method = :smtp; config.action_mailer.smtp_settings = { :address => "smtp.gmail.com", :port => 587, :user_name => "my_id-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org", :password => "secret",