diff --git a/MailSend.Web/Controllers/MailController.cs b/MailSend.Web/Controllers/MailController.cs index 1a0a8e6..4c0948b 100644 --- a/MailSend.Web/Controllers/MailController.cs +++ b/MailSend.Web/Controllers/MailController.cs @@ -127,7 +127,7 @@ namespace MailSend.Web.Controllers { var bsArr = Convert.FromBase64String(att.AttachContent); var ext = Path.GetExtension(att.AttachName); - var fileTmpName = DateTime.Now.Ticks.ToString(); + var fileTmpName = Guid.NewGuid().ToString(); var tempPath = Server.MapPath("~/Temp"); if (!Directory.Exists(tempPath)) {