I have been scouring the internet now for the last few days looking for a php class or script that can generate an email and attach a file to it. Everything I have found so far is out of date it seems and does not function correctly.
If anyone knows of something that can perform this job beyond installing PEAR I would greatly appreciate it. I have attempted to install PEAR a few times but it seems to fail each time. It's already installed on my server but I'm not sure how find the mimetype.php and the pear.php files to be included I have been browsing through my server and I have not had any luck locating them on my Cent OS system.
If PEAR is the only option I am willing to use it if someone could help me figure out how to make it usable or how to locate the files that are required to be included.