From ea1a549bea7af0f6cca7e9666d182056ca090164 Mon Sep 17 00:00:00 2001 From: horus Date: Thu, 27 Apr 2017 23:47:23 +0200 Subject: Formatierung der E-Mail. --- intern.gospeladlershof.de/code/erinnerung.php | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'intern.gospeladlershof.de') 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'; -- cgit v1.2.3