Displaying 20 results from an estimated 1100 matches similar to: "how to include view helpers in both action_controller and action_mailer templates (rails 3)"
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
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] =
2007 Nov 12
0
setup server for action_mailer
I,am having a debian VPS to running my railsapps.
But i have no programm fo sending emails.
I downloaded sendmail but i have no idea how to use sendmail.
How can i setup Sendmail, or can i better use another programm?
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
2008 Jan 19
0
[CruiseControl] RubyOnRails build 8671 failed
The build failed.
CHANGES
-------
Revision 8671 committed by bitsweat on 2008-01-19 03:45:24
Support aggregations in finder conditions. Closes #10572.
M /trunk/activerecord/test/cases/finder_test.rb
M /trunk/activerecord/CHANGELOG
M /trunk/activerecord/lib/active_record/aggregations.rb
M /trunk/activerecord/lib/active_record/base.rb
TEST FAILURES AND ERRORS
-----------------------
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 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
2008 Mar 16
0
ar_mailer problem
Hi, I am having the following problem with ar_mailer.
FOr the time being i have manualyy created a record for the email to be
sent, in the database in a table named ''emails''.
Now if I run ar_sendmail i get the follwing error.
C:\Inetpub\event>ar_sendmail
Unhandled exception uninitialized constant
ActionMailer::ARMailer(NameError):
2013 Nov 13
2
Cannot receive from specified address Unauthenticated senders not allowed
On trying to run a rake task via crontab, I''m getting the following error:
rake aborted!
550 Cannot receive from specified address <help-+zpghU0kKgY@public.gmane.org>:
Unauthenticated senders not allowed
/mnt/voylla-production/shared/bundle/ruby/1.9.1/gems/mail-2.3.3/lib/mail/network/delivery_methods/smtp.rb:129:in
`block in deliver!''
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
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
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 =>
2006 May 25
1
AppMailer and McCray''s theme generator
Hi,
I am using Matt McCray''s theme generator.
http://rubyforge.org/projects/theme-generator/
Everything works fine, but rendering an action in a controller using
the AppMailer raises this:
undefined method `current_theme'' for #<AppMailer:0x39df950>
Is there someone who could help me ?
Thanks !
Mickael.
Traces:
2006 Jun 05
1
Action Mailer contact form
I am trying to use Rails and the Action mailer to create a simple contact
form on a website. I am using a table-less model to validate the form
contents, then trying to use the Action Mailer chapter of the "Agile Web Development
with Rails" book as a pattern to develop the send e-mail portion. I am
having trouble getting it working and was hoping someone could point me in the
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 May 04
0
Action Mailer Errno::EPIPE using different character sets
1. On my Windows development system everything is fine.
2. On my Linux production server I get an Errno::EPIPE (Broken pipe)
error when sending an email using Action Mailer. The specific situation
is this:
a) Rails 1.1.2
b) The application is running UTF8, but I want to send my emails as
ISO-8859-1.
c) Sending UTF-8 emails works fine.
d) Delivery method is SMTP.
e) When using this code
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
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
2010 May 06
0
Problems using exception_notification 2.3.3.0
Hi.
I am using rails 2.3.5
I just installed exception_notification 2.3.3.0 using ''sudo gem install
exception_notification''
I have add config.gem "exception_notification" in environment.rb and
''include ExceptionNotification::Notifiable'' in application_controller.rb
Now I am trying it out in development environment.
It seems to catch my exception