Displaying 20 results from an estimated 10000 matches similar to: "sending email.."
2006 May 23
7
back-porting 1.1.1 app to 1.0 rails server
I''ve been developing new application on local machine in rails 1.1.1.
Hosting provider (godaddy) is at rails 1.0.0 and not upgrading any time
soon I''m told. I set "RAILS_GEM_VERSION = ''1.0.0''" in my environment.rb
file to get past inital errors, but now I''m getting the following error:
2006 Apr 28
3
ActionMailer - 550 Error - Net:SMTPFatalError
I have page on my site which sends out e-mails to all of our clients.
The idea is that if a client''s e-mail bounces, the server catches the
bounce message and flags the client (from the Rails Recipes book).
This works perfectly, except in the event that the destination domain
is my own. Since I''m running my own postfix server on the same box,
instead of accepting the
2008 Jun 03
15
Problem with rails environment with cygwin...mysql doesn't
I have rails 1.2.2, ruby 1.8, mysql 5 and Rad Rails in my win XP and
this
stack works fine.
But I''m trying to use rails 2.1, mongrel, capistrano, git, mysql all in
cygwin and e Text Editor.The only think that doesn''t work is mysql.I
installed this app from the source(in version 5.0.45, ./configure then
make install).All
right, but when I try to launch this error occurs:
2006 Jun 24
4
setting attribute in constructor, .NEW works but not .CREATE
I have table "decks" with three fields: "id", "created_at" and "cards"
which is a 264-character string field. I have modified the model with a
constructor, as follows:
class Deck < ActiveRecord::Base
attr_reader :cards
def initialize
@cards = "12345"
end
end
If I call Deck.new from my controller, I get no errors and an object
with the
2009 Apr 23
8
how to avoid (Net::SMTPFatalError) "555 5.5.2 Syntax error
Hi all,
I have written code to send mails through action_mailer, where in I
called
MassNotifier.deliver_forward_review_link(current_user.profile.display_name,email,params[:notification][:message],params[:title],params[:designation],params[:company],params[:id],@invitation.invitation_code)
this method , and in mass_notifier.rb
I fave written
def
2006 Aug 12
5
In place editing on a list - not passing ID through
I want to do in-place edits on a list of data, but I''m having trouble
getting the ID passed through to the controller.
I use this in my view to create the field:
<% for frame in @frames %>
...
<%= in_place_editor_field :frame, :price %>
<% end %>
and this produces the following in my output:
<span class="in_place_editor_field"
2005 Dec 17
13
Rookie with ActionMailer
To start out I''ll say that this is the first thing that I''ve ever built
that''s been intended to programmatically send email. I''m looking at
examples in AWR and also on the wiki. I feel that I sort of have things
set up right but I''m getting an error I can''t grok:
Net::SMTPFatalError in Home#email_list
550 5.7.1 Unable to relay for
2006 Aug 18
3
Understanding MVC - view customization after using scaffolds
All,
I have ordered AWDWR and am anxiously awaiting its arrival. In the
meantime I still am playing with ROR using radrails. I have a few
questions ...
I create a table named customers with the following details:
Field Type Null Key Default Extra
id int(11) NO PRI auto_increment
customer_name varchar(50) NO
inbound_retention int(11) NO
outbound_retention int(11) NO
unix_admin_email
2008 Jun 05
23
unit test question
In development and production, I''ve got postgresql constraints that
prevent deleting a CaseManager if there is a Client that belongs to that
CaseManager.
In unit tests...and obviously in my testing db, those restrictions don''t
get added.
Is it wrong to test for deleting dependent records in unit tests?
Craig
--~--~---------~--~----~------------~-------~--~----~
You received
2006 Jun 12
8
sending email
Hi,
Has anyone got any good tutorials on how to send emails in ruby, seems a
bit more complicted than PHP
Thanks
Scott
--
Posted via http://www.ruby-forum.com/.
2006 Jun 21
14
[Bounty] 1 pizza for 1 simple plugin
So here''s the deal. I don''t know the innards of rails well enough to
do this quickly but you might. First person to write this and release
it under MIT license or public domain, and tells me, gets a free
pizza from your favorite local delivery place. You pick the toppings,
I''ll call ''em and order it up for you. Yeah a pizza isn''t much but I''m
2006 May 10
4
action mailer not really sending emails
I am trying to get the action mailer to send out emails from my server
(windows 2003). I configured it to the local smtp server and when I try
sending to email boxes that are on the local domain, the emails go
through. However, when I try sending emails to my gmail account, they
won''t get through. It gives me no errors. As far as I can tell there are
no firewalls on our server that
2007 Jul 23
3
sending email
HI i am presently new to this ror language can you please send me the
stepwise procedure for sending the email ......
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2011 Dec 12
1
Errno::ECONNREFUSED (Connection refused - connect(2)): sending email in production
I don''t know how to get more info about this issue on my remote server
( Linux/Debian6 - Qmail)
localhost testing is fine
, so my class UserMailer < ActionMailer::Base is rendering correctly
the email ( checked in the development log)
now, testing the remote SMTP server , via the production console,
using :
ActionMailer::Base.smtp_settings = {:address =>
2009 Feb 08
2
SocketError in EmailController#correspond
SocketError in 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
2006 Nov 06
4
Confirmation fields on forms
I am unsure how to use a confirmation only field in my forms. The
perfect example is when registering a user, you want them to type their
password twice but you only want to have one record for it.
The form fields;
user[password]
user[password_confirmation]
form posted;
user = User.new @params[:user]
Error is thrown because there is no method for password_confirmation.
--
Posted via
2006 Sep 20
3
Can this 1337 PostgreSQL Subquery Union be done in AR?
Just wondering if it''s possible, without resorting to find_by_sql.
select id, title, datetime, type from (
select id, title, added as datetime, ''items'' as type from items
union
select id, headline as title, datetime, ''news'' as type from news
) as items order by datetime desc limit 50;
I''m also curious if it''s possible in MySQL.
Joe
2006 Mar 05
2
Sending an email when a comment is posted
When a user posts a comment on my site, is there a way for me to be
notified via email? I know this is pretty easy in php, i.e. mail()
function, but I''m looking for the equivalent in Rails.
Thanks!
--
Posted via http://www.ruby-forum.com/.
2006 Sep 18
0
Mails aren't sent: 550 Administrative prohibition
Hi all
I have two Rails applications, an older one and a recent one.
I want to send mails with my recent app, so I just copied the following
lines from the old app to the new''s environment.rb:
ActionMailer::Base.server_settings = {
:address => "mail.josh.ch",
:port => 25,
:domain => "mail.josh.org",
:authentication => :login,
:user_name =>
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