<?php $headers = "From:sender@example.com\r\n"; $headers .= "Reply-To:sender@example.com\r\n"; $headers .= "Content-Type: text/plain;\r\n charset=iso-8859-1\r\n"; mail("test@example.com", "This is the subject", "This is the mail body", $headers); ?>