search for: email_controller

Displaying 9 results from an estimated 9 matches for "email_controller".

2006 Jan 24
14
A bad day with Action Mailer
...mailer-1.1.5/lib/action_mailer/base.rb:327:in `send'' /usr/lib/ruby/gems/1.8/gems/actionmailer-1.1.5/lib/action_mailer/base.rb:327:in `deliver!'' /usr/lib/ruby/gems/1.8/gems/actionmailer-1.1.5/lib/action_mailer/base.rb:223:in `method_missing'' /app/controllers/email_controller.rb:8:in `sent'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:853:in `send'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:853:in `perform_action_without_filters'' /usr/lib/ruby/gems/1.8/gems/actionpac...
2006 Jan 31
3
Lost in routing
I''m trying to create a modules based system where my controllers are all under modules. So the structure looks something like: app/ controllers/ message/ news_controller.rb email_controller.rb library books_controller.rb pictures_controller.rb home_page_controller.rb Each of those controller has it''s own view, and there''s a central application.rhtml for the layout. The layout has in it links to each of the controllers using...
2010 Jun 29
16
problem finding find current page
I have this bit of code in my email.controller user = @current_user story = @current_story recipient = story.user It doesn''t work because @current_story isn''t defined. How can I find the current page to make this work? -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
2009 Feb 08
2
SocketError in EmailController#correspond
...EmailController#correspond getaddrinfo: no address associated with hostname. Please see above, these are the errors i get when i try to email a user on my networking site. Can you help please. Actionmailer address = smtp.vodafone.ie Below is code used for the email controller in apps/controllers/email_controller.rb There doesnt seem to be any code missing. Can someone help with this error, are there any possible solutions??? Thanks. class EmailController < ApplicationController layout "site" include ApplicationHelper include ProfileHelper before_filter :protect, :only => [ "c...
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 =>
2006 Jun 07
1
has_many, through, want to store email in mysql
...s_many :headers, :through => :headers end header.rb: class Header < ActiveRecord::Base belongs_to :email belongs_to :headerkey end What I want to achieve, is to list all emails (a list like in every mail client, with columns from, subject, date, etc), though a scaffold. In the email_controller.rb, I have this: def list @email_pages, @emails = paginate :emails, :per_page => 10, :conditions => ["email_id is NULL"] end And in the list view this (in short - only from colunn): <% for email in @emails %> <tr> <td><%= email.headers.find(:first, :cond...
2006 Jan 31
2
How did I end up with read-only access?
I''ve generated the standard scaffolding half a dozen times on play databases on my own machine, but now I''m trying it for real against the team''s development database (postgres) and I see to have ended up in some sort of read-only mode. "list" will show my existing records and "show" will drill down, as expected, but "New" or
2006 Jan 24
4
SMTPSyntaxError with Action Mailer
...mailer-1.1.5/lib/action_mailer/base.rb:327:in `send'' /usr/lib/ruby/gems/1.8/gems/actionmailer-1.1.5/lib/action_mailer/base.rb:327:in `deliver!'' /usr/lib/ruby/gems/1.8/gems/actionmailer-1.1.5/lib/action_mailer/base.rb:223:in `method_missing'' /app/controllers/email_controller.rb:9:in `message'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:853:in `send'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:853:in `perform_action_without_filters'' /usr/lib/ruby/gems/1.8/gems/action...
2009 Nov 11
1
getaddrinfo: nodename nor servname provided, or not known
...the railsspace tutorial, it only really suggests to use :smtp. I''d read on another site that to generate emails locally, i need to use :sendmail instead... However - I havent seen any decent examples of how to get this configured to be able to send emails within my local area. Within my email_controller I have the following code: def remind @title = "Send me my login information" if param_posted?(:user) email = params[:user][:email] user = User.find_by_email(email) if user UserMailer.deliver_reminder(user) flash[:notice] = "Login information w...