free hit counter

How to send PHP Simple E-Mail

How to send PHP Simple E-Mail
The simplest way to send an email with PHP is to send a text email. In the example below we first declare the variables ($to, $subject, $message, $from, $headers), then we use the variables in the mail() function to send an e-mail: <?php $to = “someone@example.com”; $subject = “Test mail”; $message = “Hello! This is ...