From b8a9321b3d4923a98a7d46bb909687733cbfe9e5 Mon Sep 17 00:00:00 2001 From: Nathan Cannon Date: Wed, 24 Jul 2019 10:12:02 +0100 Subject: [PATCH] Changed email text --- .../src/main/kotlin/uk/co/neviyn/observationdatabase/Email.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/main/kotlin/uk/co/neviyn/observationdatabase/Email.kt b/backend/src/main/kotlin/uk/co/neviyn/observationdatabase/Email.kt index d3954f1..e66788d 100644 --- a/backend/src/main/kotlin/uk/co/neviyn/observationdatabase/Email.kt +++ b/backend/src/main/kotlin/uk/co/neviyn/observationdatabase/Email.kt @@ -33,7 +33,7 @@ class Email { val email = EmailBuilder.startingBlank() .to("Simulator Team", environment.getProperty("smtp.toaddress")) .withSubject("Observation Session Data") - .withPlainText("Attached is the observation data for the session completed ${DateTime.now()}.") + .withPlainText("Attached observation data was generated: ${DateTime.now()}.") .withAttachment("observations.csv", observationsToCSV(observations).toByteArray(), "text/csv") .buildEmail() logger.info("Sending mail to ${email.recipients}")