EllisLab/CodeIgniter — pull request #1181 by matteomattei (2012-03-13 18:55:34+00:00)
Title: Add support for buffer string email attachment.

This is a new function called string_attach with this prototype:

string_attach($str, $filename, $mime, $disposition = 'attachment')

It can be used to attach file with a buffer string instead of having the file physically present in the filesystem.
Can you push this change to the new release?
Thanks!

Matteo