diff --git a/ETS-WS/ETS-WS/WebShipUtils.cs b/ETS-WS/ETS-WS/WebShipUtils.cs index ed6920d..65ab71d 100644 --- a/ETS-WS/ETS-WS/WebShipUtils.cs +++ b/ETS-WS/ETS-WS/WebShipUtils.cs @@ -382,6 +382,10 @@ namespace ETS_WS DirectoryInfo dir = new DirectoryInfo(destFolder); FileInfo file = dir.GetFiles("*.eml", SearchOption.TopDirectoryOnly).OrderByDescending(m => m.CreationTimeUtc).First(); + // hack: inserisco il campo "non inviato" nel file di testo della email... "X-Unsent: 1" + StreamWriter sw = file.AppendText(); + sw.Write("X-Unsent: 1"); + sw.Flush(); return file.Name; } /// diff --git a/ETS-WS/ETS-WS/bin/ETS-WS.dll b/ETS-WS/ETS-WS/bin/ETS-WS.dll index 21c72a4..d459a36 100644 Binary files a/ETS-WS/ETS-WS/bin/ETS-WS.dll and b/ETS-WS/ETS-WS/bin/ETS-WS.dll differ