I'm looking for a way to include html in a mail_to link, so that I can automatically include a banner in the body of this email.
Thanks for any hints
Markus
Rails 3
mail_to "[email protected]", raw(image_tag("/path/to/banner.png"))
Rails 2.x
mail_to "[email protected]", image_tag("/path/to/banner.png")
See the documentation for the mail_to helper.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With