extraño que no te marque errores... eh
Cita: $attachment = $_POST['archivo'];// <- esto va mal...
$attachment_MINE_type = $_POST['archivo'];// (y esto, son iguales!!?)
demás, los datos $attachment deben ir en los $headers ??
y $data y $message que haces con ellas??
PDTA:
mejor usa PHPMailer (googlea)
suerte!