Displaying 20 results from an estimated 400 matches similar to: "Rookie with ActionMailer"
2006 Jan 23
1
learning how models, controllers, and views pass data
As a noob to Rails and web development in general, I think I still need
a broader understanding of how Views, Controllers, and Models pass
information and variables to each other.
I''m creating a site that allows for email campaigns. I have a
''create_email_controller'':
class Admin::CreateEmailController < Admin::BaseController
layout ''admin''
def
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 =>
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
2005 Dec 07
1
Navigation
Greetings,
I appreciate the help from here as I seem to be asking the noob
questions a lot, but what is a good way to deal with navigation pulled
from a database?
I have this in my view:
<% @nav_buttons.each do |nav_button| %>
<li><a href="#" class="nav"><%=h nav_button.name %></a></li>
<% end %>
this in my controller
def
2007 Dec 11
1
501 Syntax: HELO hostname - Mail problem
Hello...
I am encountering a problem sending emails from Windows using an
extermal smtp server.
When attempting to send out the email, the following error is
returned:
501 Syntax: HELO hostname
I have checked the format of the emails, and they are ok. It seems
it''s choking right at the begging of the connection to the smtp
server, when my computer needs to identify itself by sending
2009 Apr 09
1
Mailing error in Rails 2.3.2
Hi,
My mails were working with the earlier version of rails ie. Rails
2.0.2. But recently when i upgraded my environment to 2.3.2 the mails
stopped working and gave
"Error: End of file reached".
But if i send mails independent of my rails app the mailing code works
fine.
My Environment:
Windows Xp
Ruby 1.8.7
actionmailer (2.3.2)
actionpack (2.3.2)
activerecord (2.3.2)
activeresource
2008 Dec 04
3
The RSpec way of doing this? Need help on validating block
Hello, I''m back again with more questions about mocks and how to do good
testing in general. Let''s say I''m writing this EmailSender class and I
want to make it totally awesomely tested with RSpec. Here''s how far I''ve
gotten so far:
require ''net/smtp''
class EmailSender
def send_email
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
2006 Mar 05
2
Q's about switching from sendmail to postfix
Running CentOS 4.2 with all updates. I've been using sendmail for my
MTA since forever. I've grown used to it and I can make it do what I
want it to. However (there's always a catch, isn't there)...
Lately it seems that some mail is being lost. I've noticed some
instances when a message was sent to myself and others which I will only
see if someone replies back to
2006 Mar 05
5
DreamHost and ActionMailer
I''m getting ready to sign up with DreamHost, but my application is
missing the ActionMailer features.
First, can anyone provide some real code to send an email upon comment
submission?
Second, is it easy to setup ActionMailer on a DreamHost server?
Thanks!
--
Posted via http://www.ruby-forum.com/.
2005 Mar 11
4
actionmailer settings
A couple questions:
1) How does rails no if you are in your test, dev or production
environment?
2) Does anyone have an actionMailer server settings that will work on
your standard local machine? I will use the one provided for my
textdrive account but for testing on my machine I am getting connection
refused.
Thanks.
Your Friend,
Jonathan Kopanas
http://www.kopanas.com
2006 Jan 15
2
rookie with text editing
Greetings,
This might be a pretty basic question not even totally rails specific,
but how do I control text editing using ruby on rails?
For instance, I am using the ruby forum
http://www.ruby-forum.com/topic/new as I type this and am typing into a
textarea tag. I have this in my rails app and I want to know how to
save the formatting - such as when I hit returns to go to a new line
when I
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 Mar 03
3
configure actionmailer to recieve email on localhost?
hi, is there a way i can configure my localhost to receive email using
smtp? i can out emails fine but now would like to test/get-to-know how
to handle incoming emails.
if on my localhost:3000, do i do anything like below?
ActionMailer::Base.server_settings = {
:address=>''smtp.yourserver.com'', # default: localhost
:port=>''25'',
2008 Mar 17
2
Dynamic actions and views
Hi,
I have a set of messages stored in the db. These are email messages
that I have to send based on some condition. This is not the way I had
been doing all these days. I used to create an action in my controller
(class Notifier < ActionMailer::ARMailer) and then create an rhtml
file with the email content and then say
Notifier::deliver_my_email_message to send out the emails. But now
that I
2005 Dec 14
5
inserting multiple rows
I have table which stores multiple entries. Each row has user_id,
game_id and a pick_id. On a page the user has to make load of choices.
All this gets submitted.
the html looks like so:
<input type="hidden" name="game_id" value="3">
<input type="hidden" name="user_id" value="19">
<select name="pick[3]">
....
2023 Apr 04
5
[RFC PATCH 0/5] fstests specific MAINTAINERS file
I think I might be mad to include that many mailing lists in this patchset...
As I explained in [PATCH 1/5], fstests covers more and more fs testing
thing, so we always get help from fs specific mailing list, due to they
learn about their features and bugs more. Besides that, some folks help
to review patches (relevant with them) more often. So I'd like to bring
in the similar way of
2012 Oct 08
11
Problems setting gmail mail
Hello,
as attachment my problems concerning gmail Mailer errors in Rails. I
hope anyone can help me out with the problem?
If there is extra information needed, please tell me what you need more
to help me out of my problems!
Greetings!
Attachments:
http://www.ruby-forum.com/attachment/7790/errnoECONNREFUSED.jpg
--
Posted via http://www.ruby-forum.com/.
--
You received this message
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
2005 Dec 15
5
Action Mailer - connection refused - connect(2)
hi:
I am on Mac OSX 10.4 using locomotive.
My ActionMailer configuration is
ActionMailer::Base.delivery_method = :smtp # or :sendmail or test
ActionMailer::Base.server_settings = {
:address => "mail.albertafilmworks.com",
:port => 25,
:domain => "brucebalmercanada.com"
}
ActionMailer::Base.perform_deliveries = true