sidekiq_mailer | Send emails asynchronously using sidekiq | Email library

 by   andersondias Ruby Version: v0.0.8 License: MIT

kandi X-RAY | sidekiq_mailer Summary

kandi X-RAY | sidekiq_mailer Summary

sidekiq_mailer is a Ruby library typically used in Messaging, Email, Ruby On Rails applications. sidekiq_mailer has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

Send emails asynchronously using sidekiq
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              sidekiq_mailer has a low active ecosystem.
              It has 57 star(s) with 32 fork(s). There are 3 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 9 open issues and 6 have been closed. On average issues are closed in 86 days. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of sidekiq_mailer is v0.0.8

            kandi-Quality Quality

              sidekiq_mailer has no bugs reported.

            kandi-Security Security

              sidekiq_mailer has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              sidekiq_mailer is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              sidekiq_mailer releases are available to install and integrate.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of sidekiq_mailer
            Get all kandi verified functions for this library.

            sidekiq_mailer Key Features

            No Key Features are available at this moment for sidekiq_mailer.

            sidekiq_mailer Examples and Code Snippets

            Sidekiq::Mailer,Usage
            Rubydot img1Lines of Code : 12dot img1License : Permissive (MIT)
            copy iconCopy
            class MyMailer < ActionMailer::Base
              include Sidekiq::Mailer
            
              def welcome(to)
                ...
              end
            end
            
            # Queues the mail to be sent asynchronously by sidekiq
            MyMailer.welcome('your@email.com').deliver
            
            sidekiq -q mailer
            
            # Mail will skip sidekiq and   
            Sidekiq::Mailer,Installation
            Rubydot img2Lines of Code : 3dot img2License : Permissive (MIT)
            copy iconCopy
            gem 'sidekiq_mailer'
            
            $ bundle
            
            $ gem install sidekiq_mailer
              
            Sidekiq::Mailer,Testing
            Rubydot img3Lines of Code : 2dot img3License : Permissive (MIT)
            copy iconCopy
            # config/initializers/sidekiq_mailer.rb
            Sidekiq::Mailer.excluded_environments = [:test, :cucumber]
              

            Community Discussions

            QUESTION

            Ruby mailer with sidekiq into Rails 5.x app : ArgumentError
            Asked 2017-Jun-07 at 09:40

            I'm trying to migrate from rails 4.x to rails 5.x

            gemfile.lock:
            - rails (5.0.2)
            - sidekiq_mailer (0.0.8)
            - sidekiq (5.0.0)
            - actionmailer (= 5.0.2)

            For mailing stuff, when I try the following : $>UserMailer.password_reset(account_to_reset).deliver_later
            (which previously worked like a charm)

            I got this error :
            ArgumentError: wrong number of arguments (given 2, expected 0)
            with (the full and only) following backtrace :

            from /Users/nathangouy/.rvm/gems/ruby-2.4.1/gems/actionmailer-5.0.2/lib/action_mailer/base.rb:582:in 'initialize' from /Users/nathangouy/.rvm/gems/ruby-2.4.1/gems/sidekiq_mailer-0.0.8/lib/sidekiq_mailer/proxy.rb:11:in 'new' from /Users/nathangouy/.rvm/gems/ruby-2.4.1/gems/sidekiq_mailer-0.0.8/lib/sidekiq_mailer/proxy.rb:11:in 'actual_message' from /Users/nathangouy/.rvm/gems/ruby-2.4.1/gems/sidekiq_mailer-0.0.8/lib/sidekiq_mailer/proxy.rb:28:in 'method_missing'

            I try a lot of things and wasn't able to find any similar issue on sidekiq or actionmailer

            ...

            ANSWER

            Answered 2017-Jun-07 at 09:40

            Ok I found the problem, the thing is that sidekiq_mailer isn't maintained by the sidekiq author (I missed this crucial info), and then it's not usable for now with sidekiq/rails 5.x

            Source https://stackoverflow.com/questions/44407945

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install sidekiq_mailer

            Add this line to your application's Gemfile:.

            Support

            Fork itCreate your feature branch (git checkout -b my-new-feature)Commit your changes (git commit -am 'Added some feature')Push to the branch (git push origin my-new-feature)Create new Pull Request
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/andersondias/sidekiq_mailer.git

          • CLI

            gh repo clone andersondias/sidekiq_mailer

          • sshUrl

            git@github.com:andersondias/sidekiq_mailer.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Email Libraries

            PHPMailer

            by PHPMailer

            nodemailer

            by nodemailer

            mjml

            by mjmlio

            Mailspring

            by Foundry376

            postal

            by postalserver

            Try Top Libraries by andersondias

            delayed_job_mailer

            by andersondiasRuby

            attributes_sanitizer

            by andersondiasRuby

            conway-game-of-life-ruby

            by andersondiasRuby

            conway-game-of-life-javascript

            by andersondiasJavaScript

            congratulation-app

            by andersondiasRuby