[eluser]dallen33[/eluser]
I want to send an HTML email that also includes the HTML as an attachment. The Email class lets you attach files:
Code:
$this->email->attach('/path/to/photo1.jpg');
But what if I want to attach an HTML file without actually writing an HTML file to the file system?