Displaying 20 results from an estimated 70000 matches similar to: "Creating a callback for ActionMailer"
2006 Feb 08
2
ActionMailer EOFError (sometimes)
I''m having problems sending emails sometimes using ActionMailer. Looks
like some emails are never sent because something breaks when sending
it. It is a small quantity but can''t even have one drop. Browsing
through the list I saw that one person had the same error as I did but
in his case he couldn''t send any emails and in the end he needed no
authentication at all.
2006 Dec 28
1
ActionMailer/SMTP: Net::SMTPSyntaxError when message body contains only a 'dot'
FYI:
I don''t think this is a very well know. It seems that, on some
operating systems, ActionMailer/SMTP crashes when it sends an email
with only a ''.'' (aka a ''dot'' or a ''period''). Specifically, you get
Net::SMTPSyntaxError (502 Error: command not implemented):
Environment Details:
$ uname -a
Linux private1 2.6.15-26-server #1 SMP
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 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
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 =>
2006 Aug 14
0
ActionMailer in an infinite loop? Looks like framework bug.
I would rather post this on the dev list since it looks like only the
developers can explain why this is failing. However, I can''t find where
you subscribe to it! Any ideas?
Here is my problem. Whenever I try to send an email I get a
SystemStackError saying stack level too deep. Here is the exception
trace:
2005 Mar 18
1
newbie question on ActionMailer
Hi,
I normally try to really figure things out before asking a stupid
question but I''m tight on time and the stack trace indicates a pretty
low-level problem... something scary for a newb.
I''m hoping that someone can just say "you forgot to polish the widget
before turning the crank" or some other simple newbie-slap.
I''m trying to get actionmailer to send
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
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:
2006 Jun 08
2
ActionMailer timeout problems
Hi,
I am having problems getting ActionMailer to send any mail.
I am developing on windows XP with lighttpd and scgi.
my settings are as follows(my.domain.net is replaced with a correct mail
server):
config.action_mailer.server_settings = {
:address => "my.domain.net",
:port => 25,
:domain => "domain.net"
}
config.action_mailer.raise_delivery_errors = true
2006 Aug 16
1
ActionMailer cannot use SMTP for email delivery...
RoR aficionados,
I''ve configured ActionMailer for SMTP delivery of emails, and have
configured "config/environment.rb" accordingly, including the address of
our (external, but fully operational - checked and double-checked :-)
SMTP server.
Sending out emails from my Windows development laptop works without a
hitch, but on a Linux staging server using the exact same source
2006 Nov 04
0
How to catch an ActionMailer error
Hi,
I''ve got actionmailer set to raise an error on failure. When a user
submits my contact form, and they use a bogus address ''s@s.com'', then
the following error occurs in the production.log:
Net::SMTPFatalError (553 5.1.8 Sender address <s@s.com> domain does not
exist)
What I would like to do is catch the error, add the message to the
errors for the 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
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 =>
2005 Dec 15
1
Problem with ActionMailer -- which looks really cool!
Whatever I do to try to connect including trying different ISPs, I
get the same errors, here they are:
Errno::ECONNREFUSED in Events#send_my_email
Connection refused - connect(2)
Application Trace | Framework Trace | Full Trace
/Applications/Locomotive/Bundles/rails-0.14.1-min.bundle/Contents/
Resources/ports/lib/ruby/1.8/net/protocol.rb:83:in `initialize''
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
2006 Aug 15
0
ActionMailer
Im trying to send an email see the code below:
Model: order_mailer.rb
class OrderMailer < ActionMailer::Base
def send_an_email()
@recipients = "myadress@isp.co.uk"
@from = "myaddress@isp.co.uk"
@subject = "Ruby Test"
@body = "The Body"
end
end
View: send_an_email.rhtml
<p>Email was sent!.</p>
Controller: Admin.rb
def
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 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
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'',