search for: action_mailer

Displaying 20 results from an estimated 141 matches for "action_mailer".

2008 Jan 19
0
[CruiseControl] RubyOnRails build 8671 failed
...in `check_view_paths'' ./test/../lib/../../actionpack/lib/action_view/template_finder.rb:70:in `initialize'' ./test/../lib/../../actionpack/lib/action_view/base.rb:267:in `new'' ./test/../lib/../../actionpack/lib/action_view/base.rb:267:in `initialize'' ./test/../lib/action_mailer/base.rb:510:in `new'' ./test/../lib/action_mailer/base.rb:510:in `initialize_template_class_without_helper'' ./test/../lib/action_mailer/helpers.rb:106:in `initialize_template_class'' ./test/../lib/action_mailer/base.rb:502:in `render'' ./test/../lib/action_mailer/ba...
2013 Nov 13
2
Cannot receive from specified address Unauthenticated senders not allowed
...shared/bundle/ruby/1.9.1/gems/mail-2.3.3/lib/mail/message.rb:1989:in `do_delivery'' /mnt/voylla-production/shared/bundle/ruby/1.9.1/gems/mail-2.3.3/lib/mail/message.rb:230:in `block in deliver'' /mnt/voylla-production/shared/bundle/ruby/1.9.1/gems/actionmailer-3.1.10/lib/action_mailer/base.rb:432:in `block in deliver_mail'' /mnt/voylla-production/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.10/lib/active_support/notifications.rb:53:in `block in instrument'' /mnt/voylla-production/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.10/lib/active_support...
2010 Aug 05
5
asset_host and ActionMailer
After digging through the rails code to figure out why my asset_host wasn''t getting applied to emails, I realized that it''s because the config object in the context of a mailer is config.action_mailer and not config.action_controller. This means you need to set asset host separately for emails, as config.action_mailer.asset_host. Should this be considered a bug? Is it really logical to have them separated like that, or would it make more sense to have a simple config.asset_host ? If it''...
2006 Aug 01
2
actionmailer cant find template in backgroundrb
...rb:321:in `pick_template_extension'' d:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_view/base.rb:238:in `render_file'' d:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_view/base.rb:272:in `render'' d:/ruby/lib/ruby/gems/1.8/gems/actionmailer-1.2.3/lib/action_mailer/base.rb:363:in `render'' d:/ruby/lib/ruby/gems/1.8/gems/actionmailer-1.2.3/lib/action_mailer/base.rb:358:in `render_message'' d:/ruby/lib/ruby/gems/1.8/gems/actionmailer-1.2.3/lib/action_mailer/base.rb:306:in `create!'' d:/ruby/lib/ruby/gems/1.8/gems/actionmailer-1.2.3/lib/a...
2006 Nov 29
1
actionmailer on Debian Etch
...t/fixtures/letter/send mage@miranda:~/temp/mailer$ script/runner Letter.deliver_test ./script/../config/../vendor/rails/railties/lib/commands/runner.rb:27: undefined method `wday'' for "test":String (NoMethodError) from ./script/../config/../vendor/rails/actionmailer/lib/action_mailer/vendor/tmail/facade.rb:109:in `date='' from ./script/../config/../vendor/rails/actionmailer/lib/action_mailer/base.rb:476:in `create_mail'' from ./script/../config/../vendor/rails/actionmailer/lib/action_mailer/base.rb:386:in `create!'' from ./s...
2009 Mar 17
1
ActionMailer works for gmail/yahoo, but not for other email addresses...HELP!
...ning? I have sent an email directly through the same web server through the command line using mail -s and that worked. Why doesn''t it work through my rails app? here are my configuration settings (mostly default) # Disable delivery errors, bad email addresses will be ignored config.action_mailer.delivery_method = :smtp config.action_mailer.raise_delivery_errors = true config.action_mailer.perform_deliveries = true config.action_mailer.default_charset = "utf-8" config.action_mailer.smtp_settings = { :address => "localhost", :port => 25, :domain =...
2006 May 25
1
AppMailer and McCray''s theme generator
...es: #{RAILS_ROOT}/vendor/plugins/theme_support/lib/patches/actionview_ex.rb:16:in `render_file'' D:/MATech/Prog/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_view/base.rb:267:in `render'' D:/MATech/Prog/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/actionmailer-1.2.0/lib/action_mailer/base.rb:363:in `render'' D:/MATech/Prog/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/actionmailer-1.2.0/lib/action_mailer/base.rb:358:in `render_message'' D:/MATech/Prog/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/actionmailer-1.2.0/lib/action_mailer/base.rb:306:in `create!'' D:/MATech/Pro...
2006 Jul 05
1
TMail + Receing mail and extract attachments
...tor ---" puts filename end end #~ #ticket = Ticket.new #~ #ticket.from_email = email.from[0] email.attachments.each do |attachment| puts attachment end #mail.base64_decode #new.receive(mail) end end >> c:/ruby/lib/ruby/gems/1.8/gems/actionmailer-1.2.1/lib/action_mailer/vendor/tmail /stringio.rb:125:in `gets'': undefined method `index'' for #<TMail::Mail:0x334d4f8 > (NoMethodError) from c:/ruby/lib/ruby/gems/1.8/gems/actionmailer-1.2.1/lib/action_mailer /vendor/tmail/mail.rb:288:in `parse_header'' from c:/ruby/lib/r...
2006 Jun 05
1
Action Mailer contact form
...:in `pick_template_extension'' c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/base.rb:238:in `render_file'' c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/base.rb:272:in `render'' c:/ruby/lib/ruby/gems/1.8/gems/actionmailer-1.2.1/lib/action_mailer/base.rb:363:in `render'' c:/ruby/lib/ruby/gems/1.8/gems/actionmailer-1.2.1/lib/action_mailer/base.rb:358:in `render_message'' c:/ruby/lib/ruby/gems/1.8/gems/actionmailer-1.2.1/lib/action_mailer/base.rb:306:in `create!'' c:/ruby/lib/ruby/gems/1.8/gems/actionmailer-1.2.1...
2008 Mar 04
2
Action Mailer throwing underscores on template name
...ems/1.8/gems/actionpack-1.13.6/lib/action_view/ base.rb:332:in `pick_template_extension'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_view/ base.rb:249:in `render_file'' (eval):4:in `render_message'' /usr/lib/ruby/gems/1.8/gems/actionmailer-1.3.6/lib/action_mailer/ base.rb:424:in `create!'' /usr/lib/ruby/gems/1.8/gems/actionmailer-1.3.6/lib/action_mailer/ base.rb:385:in `initialize'' /usr/lib/ruby/gems/1.8/gems/actionmailer-1.3.6/lib/action_mailer/ base.rb:333:in `new'' /usr/lib/ruby/gems/1.8/gems/actionmailer-1.3.6/lib/ac...
2005 Oct 24
2
config.action_mailer... ?
I''m trying to figure something out with the Initializer stuff in .14, and I can''t tell if I''m missing something or if something was overlooked.. What I want to do is something like this: config.action_mailer.server_settings[:address] = ''192.168.40.5'' Prior to .14, I was setting it with: ActionMailer::Base.server_settings[:address] = ''192.168.40.5'' Anyone have any insight?
2008 Mar 16
0
ar_mailer problem
...by/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/de pendencies.rb:453:in `const_missing'' c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/de pendencies.rb:465:in `const_missing'' c:/ruby/lib/ruby/gems/1.8/gems/ar_mailer-1.3.1/lib/action_mailer/ar_send mail.rb:9:in `const_get'' c:/ruby/lib/ruby/gems/1.8/gems/ar_mailer-1.3.1/lib/action_mailer/ar_send mail.rb:9:in `path2class'' c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `inject'' c:/ruby/lib/ruby/gems/1.8/gems/ar_mailer-1...
2010 Nov 19
0
how to include view helpers in both action_controller and action_mailer templates (rails 3)
There''s some terse documentation that helpers can be shared between action_controller and action_mailer, but I have yet to find an example of how this is done. Right now, I''m trying to use a "markdown" method in the view templates for both. I have put the method in the application helper (app/helpers/application_helper.rb). It works in the view templates called from action_contr...
2011 May 02
0
Change from 3.0.6 => Rails 3.0.7 "no such file to load -- action_mailer/railtie"
In my application.rb, I have this: #require "rails/all" require "action_controller/railtie" require "action_mailer/railtie" require "active_resource/railtie" require "active_model/railtie" (I didn''t want ActiveRecord) This worked fine up to 3.0.6, but now fails with: /Users/jeffdeville/Documents/code/ruby/wg/config/application.rb:6:in `require'': no such file to loa...
2006 Jul 27
4
sending emails
Hi, i am running a rails web application on freebsd. I am having troubles sending emails. i have this: ActionMailer::Base.server_settings = { :address => ''smtp.mydomain.com'', :domain => ''mydomain.com'', :port => 25, :user_name => ''user'', :password => ''password'', :authentication=>:login
2009 Feb 26
1
Line breaks removed from ActionMailer template
...line two Becomes: Line oneline two Looking at development.log, it shows that the line breaks are there. Indeed, of course my template has line breaks in it, separating lines and paragraphs. I''m on OS X 10.5.6, using sendmail. Settings inside config/ environments/develpment.rb: config.action_mailer.raise_delivery_errors = true config.action_mailer.delivery_method = :sendmail config.action_mailer.sendmail_settings = { :location => ''/usr/sbin/ sendmail'', :arguments => ''-i -t''} config.action_mailer.perform_deliveries = true I''m writing the temp...
2006 Aug 28
4
SMTPSyntaxError (501 <>: missing or malformed local part)
...39;' /usr/lib/ruby/1.8/net/smtp.rb:635:in `rcptto'' /usr/lib/ruby/1.8/net/smtp.rb:546:in `send0'' /usr/lib/ruby/1.8/net/smtp.rb:545:in `send0'' /usr/lib/ruby/1.8/net/smtp.rb:472:in `sendmail'' /usr/lib/ruby/gems/1.8/gems/actionmailer-1.2.5/lib/action_mailer/base.rb:513:in `perform_delivery_smtp'' /usr/lib/ruby/1.8/net/smtp.rb:379:in `start'' /usr/lib/ruby/1.8/net/smtp.rb:316:in `start'' /usr/lib/ruby/gems/1.8/gems/actionmailer-1.2.5/lib/action_mailer/base.rb:511:in `perform_delivery_smtp'' /usr/lib/rub...
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 16:31 ... /Users/sebastian/.rvm/gems/ruby-1.9....
2009 Mar 21
0
Action Mailer problem
Hello, I''m trying to make my rails app send mail. I''m using Postfix + Dovecot + SASL on Linux Debian VPS: http://www.debianadmin.com/debian-mail-server-setup-with-postfix-dovecot-sasl-squirrel-mail.html I''m using the following configuration in environment.rb: config.action_mailer.delivery_method = :smtp config.action_mailer.smtp_settings = { :address => "localhost", :port => 25, :domain => "domain.com", :user_name => "user", :password => "password", :authentication => :plain } I see the following error:...
2009 Apr 29
1
Errno::ECONNREFUSED (Connection refused - connect(2)) Act
...:in `timeout'' /usr/lib/ruby/1.8/net/protocol.rb:206:in `old_open'' /usr/lib/ruby/1.8/net/smtp.rb:392:in `do_start'' /usr/lib/ruby/1.8/net/smtp.rb:377:in `start'' /usr/lib/ruby/1.8/net/smtp.rb:315:in `start'' /vendor/rails/actionmailer/lib/action_mailer/base.rb:586:in `perform_delivery_smtp'' /vendor/rails/actionmailer/lib/action_mailer/base.rb:469:in `__send__'' /vendor/rails/actionmailer/lib/action_mailer/base.rb:469:in `deliver!'' /vendor/rails/actionmailer/lib/action_mailer/base.rb:383:in `deliver''...