Changed email text
This commit is contained in:
parent
449c4cf3b1
commit
b8a9321b3d
@ -33,7 +33,7 @@ class Email {
|
|||||||
val email = EmailBuilder.startingBlank()
|
val email = EmailBuilder.startingBlank()
|
||||||
.to("Simulator Team", environment.getProperty("smtp.toaddress"))
|
.to("Simulator Team", environment.getProperty("smtp.toaddress"))
|
||||||
.withSubject("Observation Session Data")
|
.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")
|
.withAttachment("observations.csv", observationsToCSV(observations).toByteArray(), "text/csv")
|
||||||
.buildEmail()
|
.buildEmail()
|
||||||
logger.info("Sending mail to ${email.recipients}")
|
logger.info("Sending mail to ${email.recipients}")
|
||||||
|
Loading…
Reference in New Issue
Block a user