12 lines
252 B
PHP
12 lines
252 B
PHP
|
<?php
|
||
|
// The message
|
||
|
$message = "Line 1\nLine 2\nLine 3";
|
||
|
|
||
|
// In case any of our lines are larger than 70 characters, we should use wordwrap()
|
||
|
$message = wordwrap($message, 70);
|
||
|
|
||
|
// Send
|
||
|
mail('test@headdesk.me', 'Test from phpmail.php', $message);
|
||
|
?>
|
||
|
|