I have a file on my server which I'm wanting to automatically be attached to an email being sent... but I'm tired of working at how to do it...
anyone got any advice?
Basically I have a system in place that is automatically creating a PDF invoice and saving it to the server, but I also need to attach that file using a variable name '$invoice_no'.'.pdf' to be the filename of the file to be attached.
Any help would be much appreciated.
Cheers :D
