Displaying 20 results from an estimated 723 matches for "actionmailer".
2006 Mar 05
5
DreamHost and ActionMailer
I''m getting ready to sign up with DreamHost, but my application is
missing the ActionMailer features.
First, can anyone provide some real code to send an email upon comment
submission?
Second, is it easy to setup ActionMailer on a DreamHost server?
Thanks!
--
Posted via http://www.ruby-forum.com/.
2009 Oct 31
3
1.9 Compat and merging mail gem into ActionMailer
...compatible, however needs some more work to make
it a TMail replacement.
I announced it on Ruby-Talk on the 25th of you are interested, "[ANN]
mail 1.0.0" You can get mail from gemcutter, or from
http://github.com/mikel/mail
But this email is to solicit help and testing of a rewrite of
ActionMailer to use the installed mail gem instead of the bundled
tmail lib/vendor.
I have forked ActionMailer at:
http://github.com/mikel/rails/tree/master/actionmailer/ and I welcome
help / testing / code on getting this done.
Mail is "very" ruby. And we can abstract a LOT of code out of
ActionMa...
2007 Feb 04
10
Spec''ing ActionMailer
Good morning (Pacific Time). I have a controller action that, as a
side-effect, sends an email to an administrator. I want it to do
something like this:
specify "when someone successfully signs up, an email should be sent
to the administrator with the person''s contact page" do
post :signup, {...lots o'' params}
response should_be success
#
2009 Aug 10
2
testing exception notification plugin with rspec
...e end of the log i get this when I have a critical error
rendering section "request"
rendering section "session"
rendering section "environment"
rendering section "backtrace"
Sent mail to myemail-NbxmIS7vw0kAvxtiuMwx3w@public.gmane.org
but the spec fails :
ActionMailer::Base.delivery_method = ''test''
ActionMailer::Base.perform_deliveries = false
ActionMailer::Base.deliveries = []
@size_before = ActionMailer::Base.deliveries.count
lambda { get ''dummy_method_raises_exception'' }.should raise_error
(RuntimeError)
ActionMailer::Base....
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 Jan 24
5
simple formmail question
...;d like users to fill out. The results of
the form will be sent to a few addresses.
What''s the least painless way to do this and keep everything DRY?
There''s no database involved. Ideally, I''d like to email the form
questions with the answers inline.
Seems like using ActionMailer and separate email views would be
overkill in this situation.
Joe
2007 Feb 07
1
Auto-installing Gems via boot.rb causes errors under Mongrel
Hi,
I''m trying to make my Rails app auto-install my required gems, by
invoking the gem installation in boot.rb. I''ll use the ActionMailer
gem as an example:
...
system "sudo gem install actionmailer --version=1.2.5 -y"
...
Problem is that this fails on the first invocation of Mongrel - it
can''t find the gem. However, if I kill and restart mongrel (with the
gem now installed), it works fine.
This problem does NO...
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 => "mail.mydomain.com",
:port => 25,
:authentication => :login,
:user_name => "myuname",
:password => "mypwd" }
Acti...
2006 Jan 24
9
ActionMailer: Mail isn''t delivered
Hi all
I used the search for this, but I got an Application Error, so sorry for
the newbie question.
I have tried to send an e-mail using ActionMailer. I have to following
config (environment.rb):
ActionMailer::Base.server_settings = {
:address => "mail.psyguide.org",
:port => 25,
:domain => "mail.psyguide.org",
#:authentication => :login,
#:user_name => "dave",
#:password => "sec...
2008 Feb 07
2
[CruiseControl] RubyOnRails build 8820 fixed
The build has been fixed.
CHANGES
-------
Revision 8820 committed by bitsweat on 2008-02-07 23:10:01
Remove empty .rhtml templates
D /trunk/actionmailer/test/fixtures/templates/signed_up.rhtml
D /trunk/actionmailer/test/fixtures/helper_mailer/use_example_helper.rhtml
D /trunk/actionmailer/test/fixtures/first_mailer/share.rhtml
D /trunk/actionmailer/test/fixtures/path.with.dots/multipart_with_template_path_with_dots.rhtml
D /trunk/actionmail...
2006 Oct 31
3
ActionMailer how to check mail sent
OS X 10.4.8
I am sending an email via Actionmailer
settings are written correctly in environment.rb
ActionMailer::Base.delivery_method = :smtp
ActionMailer::Base.raise_delivery_errors = :true
ActionMailer::Base.perform_deliveries = :true
ActionMailer::Base.default_charset = "utf-8"
ActionMailer::Base.server_settings = {
:address =>...
2006 Aug 09
3
Can''t update actionmailer gem?
Trying to update actionmailer gem, and it''s complaining about the
version of actionpack not being correct.
C:\eclipse\workspace>gem update actionmailer
Updating installed gems...
Attempting remote update of actionmailer
Install required dependency actionpack? [Yn] Y
ERROR: While executing gem ... (Gem::GemNotFou...
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'',
:user_name => "blah",
:password => "password",
:authentication => :login...
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
exists app/models/
create app/views/letter
exist...
2008 Apr 20
10
Actionmailer not working [no errors]
hi,
I have a little problem with actionmailer 2.0.2
The problem is that I am trying to send mails and development.log says
that everything is ok but I can''t find any mails in my mailbox.
I checked my sendmail with PHP function "mail()" - works nice.
/var/log/mail.log don''t drop any lines when sending mails with
a...
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 sendmail...
2006 Aug 01
2
actionmailer cant find template in backgroundrb
...3/lib/action_view/base.rb:321:in
`pick_template_extension''
d:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_view/base.rb:238:in
`render_file''
d:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_view/base.rb:272:in
`render''
d:/ruby/lib/ruby/gems/1.8/gems/actionmailer-1.2.3/lib/action_mailer/base.rb:363:in
`render''
d:/ruby/lib/ruby/gems/1.8/gems/actionmailer-1.2.3/lib/action_mailer/base.rb:358:in
`render_message''
d:/ruby/lib/ruby/gems/1.8/gems/actionmailer-1.2.3/lib/action_mailer/base.rb:306:in
`create!''
d:/ruby/lib/ruby/gems/1.8/gems/...
2005 Oct 13
0
Does ActionMailer support multiple configurations? Can an ActionMailer child class define a custom configuration?
Hello,
I read that the ActionMailer configuration should be set in the
environment.rb file (See http://am.rubyonrails.com/ and page 399 in the PP
Rails Book).
In my case, I have a customer rep admin application that administers
multiple websites. One of the features involves emailing the login info for
new subscribers that that sign...
2006 Sep 09
2
actionmailer HELP
Hi,
I want to receive emails with actionmailer.And I try to do this example:
http://wiki.rubyonrails.org/rails/pages/HowToReceiveEmailsWithActionMailer
I am working on windows and I couldn''t set up Actionmailer for windows.
How can I configure actionmailer for windows? I am glad,if anybody can
help me
Regards...
--
Posted via http://...
2006 Jun 28
2
perform_deliveries = false
Hi,
Can someone explain the proper use of the use of perform_deliveries
in the environment.rb file??
ActionMailer::Base.perform_deliveries = false
I just moved a new controller to the production version of an app,
but wanted to be sure everything was properly configured before
sending out a big mailing, so I set perform_deliveries = false,
believing that would prevent mail from being sent. Big surprise...