mohamedismail — 2013-09-30T09:33:07-04:00 — #1
What type of headers have to be added in the mail function to attach a file?
cpradio — 2013-09-30T09:37:18-04:00 — #2
A lot. And unless you want to properly learn them, I'd strongly suggest using a third party script like PHPMailer.
hall_of_famer — 2013-09-30T19:03:30-04:00 — #3
I wouldnt use PHP's built-in mail function since its kinda primitive and wont really handle complex email requests. Look for email libraries from PEAR may be your best shot to find a solution to your problem.
jennifer9 — 2013-10-01T06:38:20-04:00 — #4
I used PHPMailer, and I think it is very easy and most reliable to use.
You just try and check.