Does any one know how to attache files to php mail function, means the function mail() we use to send mails through sendmail.
I haven't tried this yet. I didn't find any option to do this. Have any one tried do something like this?
This can be done by imap function. But I need this to be done throught the normal mail function.
My purpose is to generate a report on our server and later to send this as a file to the administators emailid.