What type of headers have to be added in the mail function to attach a file?

What type of headers have to be added in the mail function to attach a file?

You already asked this question, how about reading our response before posting it again? Thread Closed.