search for: delivery_method

Displaying 20 results from an estimated 88 matches for "delivery_method".

2006 Feb 04
1
Error when using form helper and child objects
Hi, This is one problem that has gotten me stumped for quite a while. I have an Item that has_many :DeliveryMethod, and what I seek to achieve is to create a form that''d let me create an Item, as well as its DeliveryMethods in 1 single form. And so I tried something like: <%= text_field_tag ''Item[DeliveryMethod][price]'', @Item.DeliveryMethod ?
2013 Nov 13
2
Cannot receive from specified address Unauthenticated senders not allowed
...un 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!'' /mnt/voylla-production/shared/bundle/ruby/1.9.1/gems/mail-2.3.3/lib/mail/network/delivery_methods/smtp.rb:128:in `deliver!'' /mnt/voylla-production/shared/bundle/ruby/1.9.1/gems/mail-2.3.3/lib/mail/message.rb:1989:in `do_delivery'...
2009 Jul 28
6
how to set smpt server for our rails applicaion
...g technoweenie-restful-authentication plug-in for authentication in my application. i want to send a activation link to the user''s mail-id. for that i need to set the smpt server for our rails application, for that i added the follwing code in config/environment.rb file ActionMailer::Base.delivery_method:smpt ActionMailer::Base.smpt_settings = { :address => "localhost", :port => 25, :authentication=> :login, :user_name => "my_username", :password => "my_password" } but when i try to run the server it gives th...
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
2009 Aug 10
2
testing exception notification plugin with rspec
...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.deliveries.count.shoul...
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/.
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 => ''subdomain.domain.info'', :user_name => ''m5120507'',...
2006 Jun 03
5
Railmail: rails plugin (http://railmail.nullstyle.com)
Hi all, Just dropping a line here because I have recently release a plugin that some of you might find interesting or get a little use out of. I call it Railmail. In a nutshell, it traps any mail sent through ActionMailer (when the delivery_method is set to :railmail), stores it in a database, and provides an interface to view those messages. My initial motivation for the plugin was gmail: While developing locally on my laptop at work, gmail wouldn''t accept any mail being sent from my machine. This was very frustrating as it sl...
2005 Dec 15
5
Action Mailer - connection refused - connect(2)
hi: I am on Mac OSX 10.4 using locomotive. My ActionMailer configuration is ActionMailer::Base.delivery_method = :smtp # or :sendmail or test ActionMailer::Base.server_settings = { :address => "mail.albertafilmworks.com", :port => 25, :domain => "brucebalmercanada.com" } ActionMailer::Base.perform_deliveries = true # alternativ...
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 => "mail.mydomain.com", :port => 25, :domain => "mydomain.com&q...
2008 May 03
2
backgroundrb / actionmailer / sendmail
...:debug_log: true :schedules: :quiz_review_sender: :send_review_emails: :trigger_args: :start: <%= Time.now + 30.seconds %> :end: <%= Time.now + 10.years %> :repeat_interval: <%= 20.seconds %> environment.rb configuration: ActionMailer::Base.delivery_method = :sendmail ActionMailer::Base.raise_delivery_errors = true ActionMailer::Base.default_content_type = ''text/html'' Now, when doing the request from rails itself, no problem, I get the email instantly. Here''s the controller code: class MiscellanyController < Applicati...
2006 Aug 15
0
ar_mailer
...rb 2006-08-10 13:16:43.000000000 -0700 @@ -1,4 +1,4 @@ -class Emailer < ActionMailer::Base +class Emailer < ActionMailer::ARMailer def comment_notification(comment) from comment.author.email Edit config/environments/production.rb and set the delivery agent: $ grep delivery_method config/environments/production.rb ActionMailer::Base.delivery_method = :activerecord Run ar_sendmail: $ ar_sendmail You can also run it from cron with -o, or as a daemon with -d. See ar_sendmail -h for full details. -- Eric Hodel - drbrain@segment7.net - http://blog.segment7.net This impl...
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 } ActionMailer::Base.p...
2007 Mar 26
0
Setting up Action Mailer
I''m trying out Action Mailer for the first time. I''m not getting to first base. I thought that the instructions were pretty clear in that the first thing that I needed to do is to add: config.action_mailer.delivery_method = :smtp | :sendmail | :test to config/environment.rb (assuming that I want to use the same configuration for development, testing, and production). So, I added: config.action_mailer.delivery_method = :sendmail to the end of config/environment.rb right below where it says: # Include your applic...
2008 Jul 30
1
postfix and rails (ubuntu)
I''ve got postfix up and running on my rails system (unsure if it''s correct), but Rails doesn''t seem to talk to it at all. I''ve setup: ActionMailer::Base.delivery_method = :sendmail ActionMailer::Base.smtp_settings = { :address => ''localhost'', :domain => ''www.mywebsite.com'', :port => 25 } But it doesn''t work. Which log files should I check and/or how do I fix this? I''m running Ubuntu and the late...
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''
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 => '' '', :user_name => '''', :password => '''', :authentication => :plain } i don''t know which para...
2009 Nov 11
1
getaddrinfo: nodename nor servname provided, or not known
...flash[:notice] = "Login information was sent." redirect_to :action => "index", :controller => "site" else flash[:notice] = "There is no user with that email address." end end In environment.rb I have: ActionMailer::Base.delivery_method = :sendmail and at the top of the same file I have: ENV[''RAILS_ENV''] ||= ''production'' When I try and enter an email address into the form: I tget an error back: SocketError in EmailController#remind getaddrinfo: nodename nor servname provided, or not known H...
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 => "<passw...
2009 Dec 05
7
ActionMailer dont function with JRuby?
I have application that i send email normal with native ruby. But when i execute the sample application with jruby, it dont send email and dont get error. What can be wrong? -- Atenciosamente, Paulo Coutinho. Blog: www.prsolucoes.com/blog Site: www.prsolucoes.com Msn: paulo-QE/7f1ia5mR0ubjbjo6WXg@public.gmane.org -- You received this message because you are subscribed to the Google Groups