Hızlı yanıt: kod örneği
It's possible using PHP's function. Remember, the mail function will not work on a local server.Reference:
mail()
<?php $to = '[email protected]'; $subject = 'the subject'; $message = 'hello'; $headers = 'From:[email protected]' . "\r\n" . 'Reply-To:[email protected]' . "\r\n" . 'X-Mailer: PHP/' . phpversion(); mail($to, $subject, $message, $headers);?>