similar to: actionmailer on Debian Etch

Displaying 20 results from an estimated 4000 matches similar to: "actionmailer on Debian Etch"

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
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
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 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
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:
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
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''
2005 Mar 18
1
newbie question on ActionMailer
Hi, I normally try to really figure things out before asking a stupid question but I''m tight on time and the stack trace indicates a pretty low-level problem... something scary for a newb. I''m hoping that someone can just say "you forgot to polish the widget before turning the crank" or some other simple newbie-slap. I''m trying to get actionmailer to send
2007 Mar 28
0
mail sending problem with ActionMailer
hi friends, i have written settings in environment.rb as follews and have created necessary models and views for sending mail but mails are not sent. please help me. environment.rb coding ~~~~~~~~~~~~~~~~~~~~~ ActionMailer::Base.delivery_method = :smtp config.action_mailer.raise_delivery_errors = true config.action_mailer.perform_deliveries = true ActionMailer::Base.default_charset =
2005 Apr 20
5
ActionMailer: Net::SMTPSyntaxError (502 unimplemented (#5.5.1) error
Quick ActionMailer Question: I''m trying to send a test email message using ActionMailer and I get a Net::SMTPSyntaxError (502 unimplemented (#5.5.1) error. I''m attempting to access a remote smtp server and have setup my settings in the environment.rb file according to the "how to" article. My test controller: class MailTestController < ApplicationController
2008 Jun 10
7
ActionMailer undefined method `parameters' - Rails 2.1
Hello Rubyists, I''m currently trying to get email hooked up via ActionMailer, and while I''ve gotten it to work in the past on Rails 1.2.x, I''m seeing an error that I''m unfamiliar with. Right now, I''m just trying to send email from my dev box via the SMTP server at work. My development.rb file: #...snip config.action_mailer.delivery_method = :smtp
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>''
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:
2006 Feb 08
2
ActionMailer EOFError (sometimes)
I''m having problems sending emails sometimes using ActionMailer. Looks like some emails are never sent because something breaks when sending it. It is a small quantity but can''t even have one drop. Browsing through the list I saw that one person had the same error as I did but in his case he couldn''t send any emails and in the end he needed no authentication at all.
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
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 Dec 28
1
ActionMailer/SMTP: Net::SMTPSyntaxError when message body contains only a 'dot'
FYI: I don''t think this is a very well know. It seems that, on some operating systems, ActionMailer/SMTP crashes when it sends an email with only a ''.'' (aka a ''dot'' or a ''period''). Specifically, you get Net::SMTPSyntaxError (502 Error: command not implemented): Environment Details: $ uname -a Linux private1 2.6.15-26-server #1 SMP
2006 Nov 07
2
ActionMailer outside of Rails?
Does anyone know of issues using ActionMailer outside of Rails? I''m already selectively using ActiveRecord, so I thought perhaps I could use ActionMailer as well. (To solve one of those last minute "And could you make the app email me if it throws any errors" questions that was never in the original spec...) When I built a single file to test with, it worked fine and I
2006 Jul 05
1
TMail + Receing mail and extract attachments
Hi guys, I have a hard time with action mailer and TMail, I always get the following error... My code: << pop = Net::POP3.new(''pop.mydomain.com'') pop.start(''xxx'', ''xxxxx'') # (1) if pop.mails.empty? puts ''No mail.'' else i = 0 pop.each_mail do |m| # or "pop.mails.each
2006 Aug 09
6
Stack level too deep with actionmailer
HI, Anytime I try to send emails with actionmailer I get a stack level too deep SystemStackError. There were several other posts related to stack overflows, but none of them invovled actionmailer. I''m using some plugins acts_as_taggable, acts_as_ferret, rails 1.1.4, actionmailer 1.2.3. Here is my full stack trace. Any ideas?