Awea
Awea

Reputation: 3173

How to use ar_mailer_rails3?

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/actionmailer-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

Upvotes: 1

Views: 290

Answers (1)

superwf
superwf

Reputation: 26

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

Upvotes: 1

Related Questions