|I'm developing a newsletter system from 0, looking the net I found this class so I want to use it.|
I have a Ubuntu Server with apache, php, mysql, postfix, etc.
The basic idea is to send the same message to a lot of people. The message contains 2 images a logo and the background, 1 attachment file could be anything (xls,doc,txt,etc.) and the html message body with come text inside.
The from, to, reply, etc. are in session variables or mysql tables
The Attachment file, the subjetc and the body comes from a form in the same php file.
This give me this error:
Fatal error: Call to a member function CreateFilePart() on a non-object in /var/www/web3/web/newsletter/saleMailAttach.php