Displaying 20 results from an estimated 2000 matches similar to: "ActionMailer : Not able to send out mails"
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.
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
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
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 =
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!''
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 =>
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
2008 Mar 13
0
mail problem and rails 2.0.2
Hello,
I have some code for sending mails. The same worked perfectly on a
machine running rails version 1.2.5.
Now i have moved the entire application to another system which is
running rails 2.0.2 Whenever i try to send a mail i get an error
''execution expired''
Please go through the following code if you can figure out something
wrong. Do i need to change something for
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 =>
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
2009 Feb 26
1
Line breaks removed from ActionMailer template
I''ve been googling and searching this list for about an hour now, and
maybe I''m just not thinking of the common nomenclature for what to be
looking for, but I can''t find jack.
Here''s the deal: I''ve got an application coded correctly, sending the
mail out, and the template is structured correctly (method_name.erb is
the filename) with LF line breaks
2007 Nov 17
2
ActionMailer 501: sender address must contain a domain
Hi there guys!
Im copying an email example from "Agile web development with rails", but
i keep getting a "501: sender address must contain a domain" error.
Heres my code in my enviroment.rb. Real values replaced with
"something":
[code]
config.action_mailer.delivery_method = :smtp
config.action_mailer.default_charset ="utf-8"
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 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
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
2014 Jun 11
0
my webpage does not send emails confimation/notification
Hello everybody
I have a problem with my inquireis, when I want to contact and I send the
message, I must receive two emails one of confirmation (client) and other
of notification (admin of the web page) but it does not send.
The webpage work in production environment.
When I watch the log (production.log) I seed this:
>
> There was an error delivering an inquiry confirmation:
> 503
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
2009 Apr 29
1
Errno::ECONNREFUSED (Connection refused - connect(2)) Act
Hi All,
I encountered with following error when i try to send e-mail in
production mode.
Errno::ECONNREFUSED (Connection refused - connect(2)):
/usr/lib/ruby/1.8/net/protocol.rb:206:in `initialize''
/usr/lib/ruby/1.8/net/protocol.rb:206:in `new''
/usr/lib/ruby/1.8/net/protocol.rb:206:in `old_open''
/usr/lib/ruby/1.8/timeout.rb:62:in `timeout''
2008 Jul 06
12
Action Mailer Driving me insane
Ok, maybe its a short walk, not a drive...
I have it working just fine using smtp in development env from my OSX
machine. When I deploy it to the server (which happens to be the same
box where the smtp server lives), no email, no errors, nothing in the
Postfix logs.
I''ve double checked that my production and development action mailer
settings are identical. Here''s whats in the
2009 May 17
1
action mailer on my local computer
hi guys
i am newbie in ror. i wanna test my simple ror application on windows
xp. i use Webrick as my web server.
i don''t know how to configure my action mailer for sending email to
another addresses?
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
:address => ''localhost'',
:port => 25,
:domain => '' '',