similar to: ActionMailer: hostname was not match with the server certificate

Displaying 20 results from an estimated 9000 matches similar to: "ActionMailer: hostname was not match with the server certificate"

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 Apr 13
5
Ruby 1.8.7 + Rails 2.3.2 + TLS = Where's the documentation?
After spending a few hours reading dozens of blogs and tutorials I am still stumped. Numerous sites mention ruby 1.8.7 and rails 2.3 supporting TLS out of the box. However, I can not find any documentation on setting this up to send emails correctly. Furthermore, after attempting to send emails using Gmail and TLS i get the following error: 530 5.7.0 Must issue a STARTTLS command first.
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  =>
2010 Nov 09
3
Rails 3 Action Mailer issue
Hi All, I am trying to send an email on a user sign up. The email is working without any issues. However there is a problem with the :from field that I am specifying. My SMTP setting look like : ActionMailer::Base.smtp_settings = { :address => "smtp.gmail.com", :port => "587", :domain => "test.com",
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
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 =>
2009 Jun 15
1
NoMethodError: undefined method `password_reset_instructions' for UserNotifier:Class
Any ideas what would be causing this? NoMethodError: undefined method `password_reset_instructions'' for UserNotifier:Class from /Library/Ruby/Gems/1.8/gems/actionmailer-2.3.2/lib/action_mailer/ base.rb:400:in `method_missing'' *** app/models/user_notifier.rb class UserNotifier < ActionMailer::Base def signup_notification(user) setup user subject ''Your new
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
2013 Nov 13
2
Cannot receive from specified address Unauthenticated senders not allowed
On trying to run a rake task via crontab, I''m getting the following error: rake aborted! 550 Cannot receive from specified address <help-+zpghU0kKgY@public.gmane.org>: Unauthenticated senders not allowed /mnt/voylla-production/shared/bundle/ruby/1.9.1/gems/mail-2.3.3/lib/mail/network/delivery_methods/smtp.rb:129:in `block in deliver!''
2008 Apr 11
7
Net::SMTPAuthenticationError
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
2008 Dec 07
3
Cannot get tlsmail working; Want Gmail as SMTP
This is killing me, folks. I have reviewed numerous examples and tried two different approaches to try and use Gmail (Google Apps account) as my application''s SMTP. Every time, both on my slicehost server and local dev machine (both Ubuntu Linux), my logs show no errors and I see a copy of the mail in my logs. Yet I never received a test email. I''ve tried both 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
2009 Mar 21
0
Action Mailer problem
Hello, I''m trying to make my rails app send mail. I''m using Postfix + Dovecot + SASL on Linux Debian VPS: http://www.debianadmin.com/debian-mail-server-setup-with-postfix-dovecot-sasl-squirrel-mail.html I''m using the following configuration in environment.rb: config.action_mailer.delivery_method = :smtp config.action_mailer.smtp_settings = { :address =>
2013 Sep 11
2
Mandrill mail problem
Hello All, I am trying to use Mandrill api in my rails app. I am getting this error every time:- Net::SMTPServerBusy (401 4.1.7 Bad sender address syntax) I am using Ruby - 1.9.3, rails - 3.2.8, Thin server, & Ubuntu 12.10. in Gemfile:- gem "mandrill-api", "~> 1.0.45" gem ''mandrill_mailer'' application.rb:- config.action_mailer.default_url_options
2008 Jul 24
0
Errno::EBADF Send an Email in Rails using GMail
Hi, would someone please help me. I have been desperatley trying to fnd out for the last two days why the following code is not working. Any ideas. I''m running Instant Rails 1.4 / Rails version 1.2.5 / Ruby version 1.8.5 (i386-mswin32) / RubyGems version 1.1.1 / Action Mailer version 1.3.5 / Windows XP. Here is a description of my emailing application: in
2006 Mar 14
2
ActionMailer not working correctly
Anyone know why this wouldn''t work? I''m using acts_as_authenticated for my login, and the mail is not getting sent. I''m using dreamhost. Here''s my settings: ActionMailer::Base.delivery_method = :smtp ActionMailer::Base.server_settings = { :address => "mail.mydomain.com", :port => 25, :domain => ''mydomain.com'',
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 =>
2006 Mar 14
1
ActionMailer Error - Please Help!
I''m trying to send an email to myself when someone comments on my site. Here''s my code, if you don''t mind, could you tell me if you see something wrong? #environment.rb # Include your application configuration below ActionMailer::Base.delivery_method = :smtp ActionMailer::Base.server_settings = { :address => "mail.mydomain.com", :domain =>
2008 Sep 22
0
ActionMailer with Google Apps
I am trying to send email from a Google Apps account. Without specifying an settings whatsoever, when attempting to send email, my postfix server will simply relay the request to google, which I assume is much slower than connecting to Google''s smtp server directly. I eventually decided to try this "direct connect" approach because I was getting an error when trying to send