Displaying 20 results from an estimated 5000 matches similar to: "ActionMailer with Google Apps"
2008 Jun 23
1
ActionMailer Fails To Send Emails Post Authentication
I am trying to send emails via actionmailer.
It was working fine before and now suddenly what was working is no
longer working!
I have one version of the application running in production and whenever
I try to run it in production I get the error No connection could be
made because the target machine actively refused it. - connect(2) (see
details in the attached text file)
Now when I try to
2011 Feb 18
0
ActionMailer: hostname was not match with the server certificate
Hi,
I am setting up SMTP for my Rails 3 App.
This configuration works.
ActionMailer::Base.delivery_method = :smtp
ActionMailer::Base.smtp_settings = {
:address => "smtp.gmail.com",
:port => 587,
:domain => "mydomain.com",
:user_name => "<username>",
:password =>
2007 Jun 11
1
ActionMailer + ISP SMTP
Hi
I''m new here, and pretty much new on the rails.
I''m trying to set up my application to send emails (needed for salted
hash login)
but i keep getting errors.
i''m sure port 25 is not blocked since i''m able to
send mails
through PHP scripts.
my smtp settings in config/enviroment.rb are:
# Include your app''s configuration here:
2011 Mar 04
1
How to modify the template path for ActionMailer used in a Ruby script ?
I am testing a ruby 1.9.2 script (it''ll be run in a cron task
later...) in which I am trying to use ActionMailer
All my files are in a single folder ''joinus_email
- joinus_email
joinus_email.rb
notifier.rb
- notifications
joinus_email.html.erb
joinus_email.text.erb
running the script joinus_email.rb, (in which I defined the
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
2007 Nov 12
1
help debugging ActionMailer with restful_authentication?
In a nutshell, I''m using restful_authentication that emails the user
when they sign up for an account
The development.log file shows the body of the e-mail message being
prepped to send out, but doesn''t show confirmation that it made it.
When I use gmail''s SMTP server, a Rails exception is thrown because
gmail expects an encrypted connection. A different type of Rails
2008 Sep 04
1
actionmailer sends from commandline but not from web
Hello all,
I''m having trouble with this simple email class I made for postbacks.
When I run this from the command line an email is sent, however when I
access this .rb file through a browser nothing happens.
-------------------------
#!/usr/bin/ruby
require "rubygems"
require "action_mailer"
ActionMailer::Base.delivery_method = :smtp
2007 Mar 28
0
mail sending problem with ActionMailer
hi friends,
i have written settings in environment.rb as follews and have created
necessary models and views for sending mail but mails are not sent.
please help me.
environment.rb coding
~~~~~~~~~~~~~~~~~~~~~
ActionMailer::Base.delivery_method = :smtp
config.action_mailer.raise_delivery_errors = true
config.action_mailer.perform_deliveries = true
ActionMailer::Base.default_charset =
2007 Aug 07
0
Edge Rails and ActionMailer problem (Bad file descriptor)
Hi,
I have just updated my rails app to use edge rails, however whenever I
attempt to send an email using action mailer, I gain the following
error, any suggestions t whats going wrong?
Bad file descriptor - connect(2)
I am using the following settings
ActionMailer::Base.delivery_method = :smtp
ActionMailer::Base.smtp_settings = {
:address =>
2011 Apr 22
0
ActionMailer : Not able to send out mails
Hello,
I have the following code in my environment/development.rb
config.action_mailer.raise_delivery_errors = true;
config.action_mailer.delivery_method = :smtp;
config.action_mailer.smtp_settings = {
:address => "smtp.gmail.com",
:port => 587,
:user_name => "my_id-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org",
:password => "secret",
2009 Feb 10
0
ActionMailer getaddrinfo: Name or service not known..
When I deploy my rails 2.2.2 app to bluehost, I''m having trouble with
the ActionMailer SMTP settings.
When I attempt to send emails through Rails/SMTP, I get the following
error message:
getaddrinfo: Name or service not known
google says that this means there''s an error negotiating with the mail
server.
Here are the settings I''m using for SMTP delivery:
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 =>
2008 May 06
2
Can you use RSpec to test initializers?
Hi there!
I''m trying to spec out some code that will set the smtp_settings in a
custom ActiveMailer object. Basically I want to check that if my
configuration object has the right smtp_server, that the ActiveMailer
object gets set up correctly. So, my spec looks like this:
it "uses smtp server if config says so" do
2008 Jun 10
7
ActionMailer undefined method `parameters' - Rails 2.1
Hello Rubyists,
I''m currently trying to get email hooked up via ActionMailer, and while
I''ve gotten it to work in the past on Rails 1.2.x, I''m seeing an error
that I''m unfamiliar with.
Right now, I''m just trying to send email from my dev box via the SMTP
server at work.
My development.rb file:
#...snip
config.action_mailer.delivery_method = :smtp
2008 Jul 30
1
postfix and rails (ubuntu)
I''ve got postfix up and running on my rails system (unsure if it''s
correct), but Rails doesn''t seem to talk to it at all.
I''ve setup:
ActionMailer::Base.delivery_method = :sendmail
ActionMailer::Base.smtp_settings = {
:address => ''localhost'',
:domain => ''www.mywebsite.com'',
:port => 25
}
But it
2009 Dec 05
7
ActionMailer dont function with JRuby?
I have application that i send email normal with native ruby.
But when i execute the sample application with jruby, it dont send email and
dont get error.
What can be wrong?
--
Atenciosamente,
Paulo Coutinho.
Blog: www.prsolucoes.com/blog
Site: www.prsolucoes.com
Msn: paulo-QE/7f1ia5mR0ubjbjo6WXg@public.gmane.org
--
You received this message because you are subscribed to the Google Groups
2009 Jan 08
4
SMTP settings for action mailer
with rails 2.2.2 action mailer requires a valid ssl certificate
i have a question about routing
my smtp settings for my postfix are now
ActionMailer::Base.smtp_settings = {
:address => "smtp.mydomain.com",
:port => 25,
:domain => "mydomain.com",
:authentication => :plain,
:user_name => "mydomain_mailer-3Q2Tfjf0mexWk0Htik3J/w@public.gmane.org",
2012 Feb 14
6
SMTP problem.
Hey all, well I am trying to send emails to newly created users but I
have a problem.
In the rails log it states that the email has been sent but the email is
never actually received so obviously there is a problem.
I have noticed one in particular and I don''t understand how to fix it.
Once I create the user I get the following error message:
Net::SMTPAuthenticationError (535-5.7.1
2011 Nov 15
4
Need some guidance on running shell commands from my app..
During execution in my Rails web app, I need to create a virtual host
config on my Linux server, but I don''t know what would be the best way
to do it , here are the steps ( my_domain.com is fixed, only
my_subdomain is changing dynamically
1- create: /var/www/vhosts/my_domain.com/subdomains/my_subdomain/conf/
vhost.conf
ServerName mysubdomain.mydomain.com
.. content is always the
2008 Apr 11
1
Net::SMTPSyntaxError
Hey guys,
I want to send an email via ROR and I have put this code at the very end
in the config/environment.rb file-
ActionMailer::Base.delivery_method = :smtp
ActionMailer::Base.perform_deliveries = true
ActionMailer::Base.logger = nil
ActionMailer::Base.raise_delivery_errors = true
ActionMailer::Base.smtp_settings = {
:address => "[my smtp server]",
:port => 25,
:domain