Quote Originally Posted by fatjuicymole View Post
7-bit encode the attachments using something like Base64 and then attach them to the body of the email as a MIME attachment making sure that the message and each attachment has a different id so that the receiving email client knows how to seperate the parts again.
My mayor problem is that i receive an empty file if i do that, i must be doing something wrong