njackson / mad_mimi_mailer Goto Github PK
View Code? Open in Web Editor NEWRails3 ActionMailer delivery method for Mad Mimi
License: MIT License
Rails3 ActionMailer delivery method for Mad Mimi
License: MIT License
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 }
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
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?
Full details is at the readme of this app.
https://github.com/neerajdotname/mad_demo
Please let me know the fix or you can fork and point me to the fix.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.