Coder Social home page Coder Social logo

ar_mailer_rails3's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ar_mailer_rails3's Issues

last_send_attempt should never be null

migration should be: t.integer :last_send_attempt, default: 0, null: false

Failure condition:

  1. Create a new mail
  2. run ar_sendmail_rails3 --mailq

And there will be errors because there is a comparison on line 134 with a nil value

undefined method `>' for nil:NilClass

I just installed this and did a deliver on a mailer object. This is the error I got with the fresh install. Ideas?

[~/km/sio/trunk]$ ar_sendmail_rails3 --mailq
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
1 4564 Tue Oct 05 20:45:53 [email protected]
Unhandled exception undefined method >' for nil:NilClass(NoMethodError): /Users/daniel/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.0/lib/active_support/whiny_nil.rb:48:inmethod_mis
sing'
/Users/daniel/.rvm/gems/ruby-1.9.2-p0/gems/ar_mailer_rails3-2.1.10/lib/ar_mailer_rails3/ar_sendmail.rb:134:in b lock in mailq' /Users/daniel/.rvm/gems/ruby-1.9.2-p0/gems/ar_mailer_rails3-2.1.10/lib/ar_mailer_rails3/ar_sendmail.rb:118:ine
ach'
/Users/daniel/.rvm/gems/ruby-1.9.2-p0/gems/ar_mailer_rails3-2.1.10/lib/ar_mailer_rails3/ar_sendmail.rb:118:in m ailq' /Users/daniel/.rvm/gems/ruby-1.9.2-p0/gems/ar_mailer_rails3-2.1.10/lib/ar_mailer_rails3/ar_sendmail.rb:279:inr
un'
/Users/daniel/.rvm/gems/ruby-1.9.2-p0/gems/ar_mailer_rails3-2.1.10/bin/ar_sendmail_rails3:5:in <top (required)> ' /Users/daniel/.rvm/gems/ruby-1.9.2-p0/bin/ar_sendmail_rails3:19:inload'
/Users/daniel/.rvm/gems/ruby-1.9.2-p0/bin/ar_sendmail_rails3:19:in `

'

enable_starttls_auto, no sending mail

I guys (sorry for my english i'm french ...),
i've started to use your awesome gem with a newsletter project but when i pass ma project on the production server i encountered a problem to send mail with my local smtp.
Line 374 to 382 in ar_sendmail.rb, when i comment this line, it correct my problem.
In futur version, it possible to change this part or upgrade with a log message to show the problem in log ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.