I have a problem... I need to attach some files directly from a DB (stored with a base64 codify etc..) , if possible without creating the file on my file system.
There is a function that allow this operation?
Moderators: Chris Corbyn, General Moderators
Code: Select all
$message->attach(new Swift_Message_Attachment('Contents of my imaginary text file', 'filename.txt', 'text/plain'));