Closed fwolfst closed 5 years ago
Hey @fwolfst, if you have a content
field on your model, the full message will be stored. If you want to customize it further, you can use the track_method
option that's documented in the readme.
Okay, inspected the source. The model
should be on Ahoy::Message
and can be added by a migration, e.g. add_column :ahoy_messages, :content, :text
. That seems to work and apparently was default once (?).
Should I mention that with the exemplary migration and a "warning" (because mails usually contain protectable stuff) in a PR for the README?
@ankane I stumbled upon this again and would like to contribute a README improvement, any opinion?
Great stuff. What is the easiest way to replay (or better: store the actual) body of mails that were sent? If you give a rough outline, I'll figure out the details and gladly submit a PR for the README.