0

After a user purchases a product, a receipt is displayed.

I need to also email this receipt to the customer (as html), and would like to reuse the view I already created.

What is the best way to do that - and how?

Kjensen
  • 12,022
  • 35
  • 101
  • 158

1 Answers1

0

Seems like this would do the trick:
Render a view as a string

Community
  • 1
  • 1
Kjensen
  • 12,022
  • 35
  • 101
  • 158