diff --git a/FIT5032-Assignment/Controllers/HomeController.cs b/FIT5032-Assignment/Controllers/HomeController.cs index 1959c03..3a03123 100644 --- a/FIT5032-Assignment/Controllers/HomeController.cs +++ b/FIT5032-Assignment/Controllers/HomeController.cs @@ -394,7 +394,7 @@ namespace FIT5032_Assignment.Controllers { request.AddParameter("to", model.patientEmail); request.AddParameter("subject", "Xpectrum: New image available"); request.AddParameter("text", $"Hi {patient.First().displayName},\n\nDr. {doctorName} has uploaded a new image for you.\n\nPlease check the attachment.\n\nBest regards,\nXpectrum"); - // request.AddFile("attachment", filePath); + request.AddFile("attachment", filePath); // Send request var response = await client.ExecuteAsync(request);