пути пофиксила

This commit is contained in:
a.puchkina 2024-05-29 13:53:57 +04:00
parent 7ae4464b36
commit 2a09fd2ffe
7 changed files with 2 additions and 2 deletions

View File

@ -25,8 +25,8 @@ namespace LawFirmBusinessLogic.MailWorker
objMailMessage.Body = info.Text;
objMailMessage.SubjectEncoding = Encoding.UTF8;
objMailMessage.BodyEncoding = Encoding.UTF8;
//Attachment attachment = new Attachment("D:\\Уник\\2 курс 4 семестр\\РПП\\курсач\\LawFirm\\LawFim\\LawFirmRestApi\\file4.pdf", new ContentType(MediaTypeNames.Application.Pdf));
Attachment attachment = new Attachment("E:\\reports\\pdf\\file.pdf", new ContentType(MediaTypeNames.Application.Pdf));
//Attachment attachment = new Attachment("D:\\CourseWork\\pdffile.pdf", new ContentType(MediaTypeNames.Application.Pdf));
objMailMessage.Attachments.Add(attachment);
objSmtpClient.UseDefaultCredentials = false;

View File

@ -107,7 +107,7 @@ namespace LawFirmRestApi.Controllers
{
DateFrom = report.DateFrom,
DateTo = report.DateTo,
FileName = report.FileName,
FileName = "D:\\CourseWork\\pdffile.pdf",
GuarantorId = report.GuarantorId,
LawyerId = report.LawyerId,
Email = report.Email,

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.