I\'m trying to extend the PHP mailer class from Worx by adding a method which allows me to add attachments using string data rather than path to the file.
I came up with
It's just php://memory. For example,
php://memory
yields "bugabuga".