mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-19 04:49:33 -07:00
commit
c0040bf951
2 changed files with 1 additions and 6 deletions
|
@ -13,7 +13,7 @@ namespace Ombi.Notifications.Templates
|
||||||
if (string.IsNullOrEmpty(_templateLocation))
|
if (string.IsNullOrEmpty(_templateLocation))
|
||||||
{
|
{
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
_templateLocation = Path.Combine(Directory.GetCurrentDirectory(), "bin", "Debug", "netcoreapp2.0", "Templates",
|
_templateLocation = Path.Combine(Directory.GetCurrentDirectory(), "bin", "Debug", "netcoreapp2.2", "Templates",
|
||||||
"BasicTemplate.html");
|
"BasicTemplate.html");
|
||||||
#else
|
#else
|
||||||
_templateLocation = Path.Combine(Directory.GetCurrentDirectory(), "Templates","BasicTemplate.html");
|
_templateLocation = Path.Combine(Directory.GetCurrentDirectory(), "Templates","BasicTemplate.html");
|
||||||
|
|
|
@ -57,11 +57,6 @@ namespace Ombi.Notifications
|
||||||
|
|
||||||
using (var client = new SmtpClient())
|
using (var client = new SmtpClient())
|
||||||
{
|
{
|
||||||
if (customization.ApplicationUrl.HasValue())
|
|
||||||
{
|
|
||||||
client.LocalDomain = customization.ApplicationUrl;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (settings.DisableCertificateChecking)
|
if (settings.DisableCertificateChecking)
|
||||||
{
|
{
|
||||||
// Disable validation of the certificate associated with the SMTP service
|
// Disable validation of the certificate associated with the SMTP service
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue