7 лаба ниче не работает
This commit is contained in:
parent
ee5236b324
commit
86abbe50d3
@ -5,7 +5,7 @@
|
|||||||
<add key="SmtpClientPort" value="587" />
|
<add key="SmtpClientPort" value="587" />
|
||||||
<add key="PopHost" value="pop.gmail.com" />
|
<add key="PopHost" value="pop.gmail.com" />
|
||||||
<add key="PopPort" value="995" />
|
<add key="PopPort" value="995" />
|
||||||
<add key="MailLogin" value="lab7mail@gmail.com" />
|
<add key="MailLogin" value="laba7lala@gmail.com" />
|
||||||
<add key="MailPassword" value="lab7" />
|
<add key="MailPassword" value="passlaba7" />
|
||||||
</appSettings>
|
</appSettings>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="DocumentFormat.OpenXml" Version="3.0.2" />
|
<PackageReference Include="DocumentFormat.OpenXml" Version="3.0.2" />
|
||||||
<PackageReference Include="MailKit" Version="4.0.0" />
|
<PackageReference Include="MailKit" Version="4.5.0" />
|
||||||
<PackageReference Include="Microsoft.Extensions.Configuration" Version="8.0.0" />
|
<PackageReference Include="Microsoft.Extensions.Configuration" Version="8.0.0" />
|
||||||
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.0" />
|
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.0" />
|
||||||
<PackageReference Include="Microsoft.Extensions.Logging" Version="8.0.0" />
|
<PackageReference Include="Microsoft.Extensions.Logging" Version="8.0.0" />
|
||||||
|
@ -34,7 +34,7 @@ namespace TravelCompanyListImplement.Implements
|
|||||||
}
|
}
|
||||||
foreach (var message in _source.Messages)
|
foreach (var message in _source.Messages)
|
||||||
{
|
{
|
||||||
if (message.ClientId.HasValue && message.ClientId == model.ClientId)
|
if (message.ClientId == model.ClientId)
|
||||||
{
|
{
|
||||||
result.Add(message.GetViewModel);
|
result.Add(message.GetViewModel);
|
||||||
}
|
}
|
||||||
|
@ -11,6 +11,6 @@
|
|||||||
"SmtpClientPort": "587",
|
"SmtpClientPort": "587",
|
||||||
"PopHost": "pop.gmail.com",
|
"PopHost": "pop.gmail.com",
|
||||||
"PopPort": "995",
|
"PopPort": "995",
|
||||||
"MailLogin": "lab7mailgmail.com",
|
"MailLogin": "laba7lala@gmail.com",
|
||||||
"MailPassword": "lab7"
|
"MailPassword": "passlaba7"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user