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

Submitted by: Administrator
$boundary = '--' . md5( uniqid ( rand() ) );
$headers = "From: "Me"n";
$headers .= "MIME-Version: 1.0n";
$headers .= "Content-Type: multipart/mixed; boundary="$boundary"";
Submitted by: Administrator

Read Online PHP Job Interview Questions And Answers