Mensaje    Asunto: archivo temporal Responder citando

¿Como creo un archivo temporal y
como lo destruyo al archivo temporal creado?