I am fetching 4-5 files randomly from a database and mailing them. now i want to mail them as attachments. i tried a lot of ways but was not able to find a solution. can any one please tell me how to mail them as attachments.
I would have stored the files in $text.