Fixed email from address
This commit is contained in:
parent
35cd2c24f0
commit
17044297e9
@ -32,7 +32,7 @@ class Email {
|
||||
logger.debug("Constructing email")
|
||||
val email = EmailBuilder.startingBlank()
|
||||
.to("Simulator Team", environment.getProperty("smtp.toaddress"))
|
||||
.from("noreply@obsdb")
|
||||
.from(environment.getProperty("smtp.username")!!)
|
||||
.withSubject("Observation Session Data")
|
||||
.withPlainText("Attached observation data was generated: ${DateTime.now()}.")
|
||||
.withAttachment("observations.csv", observationsToCSV(observations).toByteArray(), "text/csv")
|
||||
|
Loading…
Reference in New Issue
Block a user