summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhorus2017-04-27 23:47:23 +0200
committerhorus2017-04-27 23:47:23 +0200
commitea1a549bea7af0f6cca7e9666d182056ca090164 (patch)
tree2d8928be0431d61aca86790f5ca5dd0b98270865
parent259967c62d90257cc22262539c96f58623807aa8 (diff)
downloadgospeladlershof.de-ea1a549bea7af0f6cca7e9666d182056ca090164.tar.gz
Formatierung der E-Mail.
-rw-r--r--intern.gospeladlershof.de/code/erinnerung.php12
1 files changed, 8 insertions, 4 deletions
diff --git a/intern.gospeladlershof.de/code/erinnerung.php b/intern.gospeladlershof.de/code/erinnerung.php
index 31d1ff3..2234391 100644
--- a/intern.gospeladlershof.de/code/erinnerung.php
+++ b/intern.gospeladlershof.de/code/erinnerung.php
@@ -45,17 +45,20 @@ if ( $error_msg != "" ) {
->useTube('contactme_mail')
->put(json_encode($data));
} else {
- if ( $count_proben <= 4 || $count_einsteiger < 1 ) {
+ if ( $count_proben <= 40 || $count_einsteiger < 1 ) {
// email schicken, da wenige proben in der datenbank vorhanden sind
//
-$text_msg = 'Hi Lotte,';
+ $text_msg = 'Hi Lotte,
+
+';
- if ( $count_proben <= 4 ) {
+ if ( $count_proben <= 40 ) {
$text_msg .= 'es sind nur noch ' . $count_proben . ' Proben eingetragen.';
$subject = "Wenige Proben";
if ( $count_einsteiger < 1 ) {
- $text_msg .= 'Außerdem gibt es keinen Einsteigertermin. Bitte trage einen ein!';
+ $text_msg .= '
+Außerdem gibt es keinen Einsteigertermin. Bitte trage einen ein!';
$subject .= " und keinen Einsteigertermin";
}
} else {
@@ -64,6 +67,7 @@ $text_msg = 'Hi Lotte,';
}
$text_msg .= '
+
Viele Grüße
Max';