Initial commit
This commit is contained in:
19
testmail2.php
Normal file
19
testmail2.php
Normal file
@ -0,0 +1,19 @@
|
||||
<?php
|
||||
$empfaenger = "alexander@ja-schwarz.de";
|
||||
#$empfaenger = "netblack@gmx.de";
|
||||
#$empfaenger = "admin@ateliers.salier-gms.de";
|
||||
#$empfaenger = "admin@lg-on.de";
|
||||
|
||||
$betreff = "Die Mail-Funktion";
|
||||
$from = "From: Administrator <admin@lg-on.de>";
|
||||
$text = "Dies ist eine PHP Testmail";
|
||||
|
||||
$return = mail($empfaenger, $betreff, $text, $from);
|
||||
|
||||
if($return){
|
||||
echo "gut";
|
||||
}else{
|
||||
echo "schlecht";
|
||||
}
|
||||
|
||||
?>
|
Reference in New Issue
Block a user