similar to: newbie actionmailer question

Displaying 20 results from an estimated 3000 matches similar to: "newbie actionmailer question"

2006 May 30
2
No rhtml, rxml, rjs... problem with Action Mailer, again
Hi all I have seen a lot of people writing my same problem but I haven''t found the solution yet. This is the problem: "ActionView::ActionViewError in Periodico#index No rhtml, rxml, rjs or delegate template found for..." when trying to send email through action mailer. I have created the Notifier.rb model (in app/models/ folder) def signupthanks(user) # Email
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 Dec 08
6
Rails 2.0 ActionMailer breaks my redmine render_message
I am using ''redmine'' (v 0.6) as my major project manager, seems running fine w Rails 2.0 (slight modifs for paginations..) but I am stuck with a major error when sending a confirmation email : mailer.rb class Mailer < ActionMailer::Base .... # Renders a message with the corresponding layout def render_message(method_name, body) layout =
2007 Dec 20
4
Ruby on Rails mailer
Today I made a first attempt to make use of ruby mailer. A volunteer fills out a form and the information is then sent to an administrator. I generated a mailer called notifier and added the following: class Notifier < ActionMailer::Base def volunteer_signup(volunteer, sent_at = Time.now) @subject = ''A new volunteer has signed up'' @body = { :title =>
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
2010 Mar 10
6
Email section
Sir , I want to implement email section in ma web application.. so i found the method ''server_setting'' for it... Following is the method: config.action_mailer.server_settings = { :address => "smtp.gmail.com" , :port => 25, :domain => "gmail.com" , :authentication => :login, :user_name => "manish" , :password =>
2008 Mar 04
2
Action Mailer throwing underscores on template name
I''ve recently run into a problem with one of my applications that refuses to send emails using ActionMailer. Looking at the log, it become obvious what''s happening, the system is looking for templates with underscores at the end. Notice the exception_notification_ . For example: ActionView::ActionViewError (No rhtml, rxml, rjs or delegate template found for
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 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 =>
2005 Nov 14
6
ActionMailer - Sent but no mail?
Hi, I am attempting to use ActionMailer to send out an email (SMTP) and am having an issue. The log files show that the email is sent, but the email is not making it to my inbox. I have followed the documentation both on the Wiki and in the AWD book. I''m not sure which setting I have incorrect and need some pointers. :authentication - should this be set to true, or
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
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 Jan 24
4
SMTPSyntaxError with Action Mailer
I''ve been trying to get my action mailer powered form to work all day. I can get it to work perfectly in development mode. But when I run it in production mode I get an error, the log spits this out Net::SMTPSyntaxError (501 Syntax: HELO hostname ): /usr/lib/ruby/1.8/net/smtp.rb:680:in `check_response'' /usr/lib/ruby/1.8/net/smtp.rb:653:in `getok''
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
2006 Mar 24
3
Tweaking Rails to Reduce RAM Usage
Is there a way to tweak rails 1.0 or 1.1-rc1 to use less RAM? I''m using a VPS (Linux UML) with < 160 MB RAM and would like to explore ways to make rails run more efficiently under such constraints. Are there articles/tips about this or do I need to look into this from scratch? -- Posted via http://www.ruby-forum.com/.
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
2006 Jan 30
5
Action Mailer woes
Hi gang, Im having my first stab at ActionMailer and not having any luck. Perhaps someone could help me out. I generated a a mailer called ItemMailer - its purpose is to take some information that I''ve already gathered in a ToDo list form and to mail it out to the person who is nominated for the task In environment.rb I have; ActionMailer::Base.server_settings = { :address =>
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
2005 Dec 24
10
can''t find view from Mailer?
Hi everyone, Like so many other here, I too am new to Rails (and Ruby), and so far it''s been a great experience. I haven''t been able to get around one problem though. When trying to use the mailer, I recieve an error like this: ActionView::ActionViewError in Tell_friend#send_email No rhtml, rxml, or delegate template found for send_to_friend The scenario is this: A form on
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