Giter VIP home page Giter VIP logo

mad_mimi_mailer's People

Contributors

njackson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

mad_mimi_mailer's Issues

uninitialized constant MadMimiMail

I am using mad_mimi_mailer (0.2.0) in a rails3 application.

I am getting uninitialized constant MadMimiMail error.

I add following line to config/intializers/mad_mimi_mailer.rb

MadMimiMail::Configuration.api_settings = {:email => AppConfig.mad_mimi_username, :api_key => AppConfig.mad_mimi_api_key }

Does nothing?

Given my class:

class UserMailer < MadMimiMailer
default :from => "[email protected]"

def signup_notification(user)
mimi_params = {
:promotion_name => "welcome",
:to => user.email,
:subject => "[xxx] Welcome To xxx!"
}

mail(mimi_params) do |format|
  format.html
  format.text
end

end
end

I get:

ActionView::MissingTemplate: Missing template user_mailer/signup_notification with {:handlers=>[:rhtml, :erb, :rxml, :builder, :rjs], :locale=>[:en], :formats=>[:html]}

Which is exactly as if this was not in the mix (I get the same error if I derive from ActionMailer::Base

How to integrate with Devise Mailer?

Hi,
I tried to use mad_mimi_mailer with devise mailer, but couldn't find out anything on how to implement coz the devise's mailer has almost no documentation?
Is there anything that can help out?

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.