Displaying 20 results from an estimated 10000 matches similar to: "ActionMailer: bug or not a bug?"
2006 Nov 29
1
actionmailer on Debian Etch
Hello,
I have two debian etch systems, both have rails. I have installed them
with apt, not gems. No problems so far.
Now I have tried to use the actionmailer. The results:
mage@miranda:~/temp$ rails mailer
create
create app/controllers
[....]
create log/test.log
mage@miranda:~/temp$ cd mailer
mage@miranda:~/temp/mailer$ script/generate mailer Letter test send
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 =>
2011 Feb 05
1
ActionMailer::Base.default_url_options
Hi,
I want so set a default url for ActionMailer. I know,
ActionMailer::Base.default_url_options is deprecated, so I use
config.action_mailer.default_url_options = {
:host => "localhost"
}
in my environments (test.rb, production.rb, ...). The problem is, I get a
deprecation error and rails won''t start. I have no solution...
Any hints for me?
Testing started at
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
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:
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
2006 Aug 01
2
actionmailer cant find template in backgroundrb
Im trying to send mails from a backgroundrb worker and it seems like
ActionView cant find my template. same code works as a rake task.
here my worker:
class StatusMailWorker < BackgrounDRb::Rails
repeat 1.minutes # <-- hehe!
def do_work(args)
[...blah...]
NotificationMailer.create_daily_report(users, rep, items)
end
end
end
its throwing the following error:
No
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''
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
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 =
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
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
2006 Mar 01
0
Possible bug in ActionMailer (with patch)
I wanted to write the following code, with emphasis on adding my own
headers to the second part with the :headers parameter.
class ArticleMailer < ActionMailer::Base
def test_message
subject ''This is a test''
recipients ''elan@bluemandrill.com''
from ''Exemplary Products <info@example.com>''
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:
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 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 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
2006 Nov 07
2
ActionMailer outside of Rails?
Does anyone know of issues using ActionMailer outside of Rails? I''m
already selectively using ActiveRecord, so I thought perhaps I could use
ActionMailer as well. (To solve one of those last minute "And could you
make the app email me if it throws any errors" questions that was never
in the original spec...)
When I built a single file to test with, it worked fine and I
2006 Aug 28
4
SMTPSyntaxError (501 <>: missing or malformed local part)
I get this when trying to send out an email. What exactly does this
error mean?
________________________________________
Net::SMTPSyntaxError (501 <>: missing or malformed local part
):
/usr/lib/ruby/1.8/net/smtp.rb:680:in `check_response''
/usr/lib/ruby/1.8/net/smtp.rb:653:in `getok''
/usr/lib/ruby/1.8/net/smtp.rb:635:in `rcptto''