fix
This commit is contained in:
parent
3a590e97b7
commit
7cc6f0341c
@ -28,7 +28,7 @@ namespace BankBusinessLogic.MailWorker
|
||||
objMailMessage.Body = info.Text;
|
||||
objMailMessage.SubjectEncoding = Encoding.UTF8;
|
||||
objMailMessage.BodyEncoding = Encoding.UTF8;
|
||||
Attachment attachment = new Attachment("C:\\Users\\user\\Downloads\\TransfersWithdrawalsList.pdf", new ContentType(MediaTypeNames.Application.Pdf));
|
||||
Attachment attachment = new Attachment("C:\\Users\\pdffile.pdf", new ContentType(MediaTypeNames.Application.Pdf));
|
||||
objMailMessage.Attachments.Add(attachment);
|
||||
objSmtpClient.UseDefaultCredentials = false;
|
||||
objSmtpClient.EnableSsl = true;
|
||||
|
@ -522,7 +522,7 @@ namespace BankManagersClientApp.Controllers
|
||||
}
|
||||
APIClient.PostRequest("api/report/sendtransferswithdrawalstoemail", new ReportBindingModel
|
||||
{
|
||||
FileName = "C:\\Users\\user\\Downloads\\TransfersWithdrawalsList.pdf",
|
||||
FileName = "C:\\Users\\pdffile.pdf",
|
||||
DateFrom = dateFrom,
|
||||
DateTo = dateTo,
|
||||
Email = APIClient.Client.Email,
|
||||
|
Loading…
Reference in New Issue
Block a user