monitor-frontend/testmail.php

13 lines
580 B
PHP

<?php
$body = ("--------------------------------------------------------\n"
."Testmail"
."--------------------------------------------------------\n"
."Dies ist eine automatische Info-EMail. \n"
."--------------------------------------------------------");
$xtra = "From: monitor@fire-devils.org (Monitor)\n";
$xtra .= "Content-Type: text/plain; charset=UTF-8\n";
$xtra .= "MIME-Version: 1.0\n";
$xtra .= "Content-Transfer-Encoding: 8bit\n";
$xtra .= "X-Mailer: PHP ". phpversion();
mail("manuelweiser@me.com", "Monitor Alarm Testmail ", $body, $xtra);