开发者

How to use ar_mailer_rails3?

开发者 https://www.devze.com 2023-02-11 06:40 出处:网络
sorry for my bad english, I\'m french. I\'m trying to make a newsletter solution for prestashop, a ruby on rails solution.

sorry for my bad english, I'm french. I'm trying to make a newsletter solution for prestashop, a ruby on rails solution.

To mass mailing, I want to use ar_mailer_rails3 but when I follow instruction from Ar_mailer_rails3 on git hub, there was an error :

ruby/gems/1.8/gems/actio开发者_Go百科nmailer-3.0.4/lib/action_mailer/tmail_compat.rb:1: Mail is not a module (TypeError)

Does anyone know how to use ar_mailer_rails3 or has already solved this problem ?

Thank you for reply


Mail is an already exists class, your model name conflicts it you should rename your ar_mailer_rails model, may be the default "Email" is OK, or use "Notifier" in the example

0

精彩评论

暂无评论...
验证码 换一张
取 消