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,447
  • 36
  • 109
  • 171

1 Answers1

0

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

Community
  • 1
  • 1
Kjensen
  • 12,447
  • 36
  • 109
  • 171