I want to setup amp-email in ruby-on-rails. So I can get benefit of dynamic email content.
I have found rails_amp gem and using this I have made changes in mime_types.rb file
Mime::Type.register_alias 'text/html', RailsAmp.default_format
and also made changes in rails_amp.yml file. which is shown below.
targets:
mailers:
and setup a mail with view of amp.erb. But it isn't sending dynamic email and make it html forcefully and mail doesn't have dynamic email symbol.
Can any one please guide me how to setup mailer to send dynamic emails?