|
|
@ -127,7 +127,7 @@ namespace MailSend.Web.Controllers
|
|
|
|
{
|
|
|
|
{
|
|
|
|
var bsArr = Convert.FromBase64String(att.AttachContent);
|
|
|
|
var bsArr = Convert.FromBase64String(att.AttachContent);
|
|
|
|
var ext = Path.GetExtension(att.AttachName);
|
|
|
|
var ext = Path.GetExtension(att.AttachName);
|
|
|
|
var fileTmpName = DateTime.Now.Ticks.ToString();
|
|
|
|
var fileTmpName = Guid.NewGuid().ToString();
|
|
|
|
var tempPath = Server.MapPath("~/Temp");
|
|
|
|
var tempPath = Server.MapPath("~/Temp");
|
|
|
|
if (!Directory.Exists(tempPath))
|
|
|
|
if (!Directory.Exists(tempPath))
|
|
|
|
{
|
|
|
|
{
|
|
|
|