Skip to content

SMTP without authentication, workaround touch API, use store theme settings for mail styling #1503

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Sep 24, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ echo "Unable to detect suitable MsBuild version (15.0). Build may not succeed."
cd /d %~dp0

echo "Restoring NuGet packages"
lib\nuget\nuget.exe restore "src\SmartStoreNET.Full-sym.sln"
lib\nuget\nuget.exe restore "src\SmartStoreNET.sln"

call "!MsBuildPath!" SmartStoreNET.proj /p:SlnName=SmartStoreNET /m /p:DebugSymbols=false /p:DebugType=None /maxcpucount %*
3 changes: 2 additions & 1 deletion src/Libraries/SmartStore.Core/Email/SmtpContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ public SmtpClient ToSmtpClient()
}
else
{
smtpClient.Credentials = new NetworkCredential(this.Username, this.Password);
if (!String.IsNullOrEmpty(this.Username))
smtpClient.Credentials = new NetworkCredential(this.Username, this.Password);
}

return smtpClient;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
});

if (this.options.autohide) {
$('body, .canvas-blocker').on('tap', $.proxy(this.autohide, this));
$('body, .canvas-blocker').on('click', $.proxy(this.autohide, this));
}

if (this.options.toggle) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@

<div class="offcanvas-menu-header offcanvas-tabs">
<ul class="nav nav-tabs nav-tabs-line row no-gutters" role="tablist">
@if (ViewBag.ShowCategories == true)
{
<li class="nav-item col">
<a id="category-tab" class="nav-link" data-toggle="tab" href="#ocm-categories" role="tab" data-initialized="false">
<span class="title">@T("Offcanvas.Menu.Categories")</span>
</a>
</li>
}
@if (ViewBag.ShowCategories == true)
{
<li class="nav-item col">
<a id="category-tab" class="nav-link" data-toggle="tab" href="#ocm-categories" role="tab" data-initialized="false">
<span class="title">@T("Offcanvas.Menu.Categories")</span>
</a>
</li>
}
@if (ViewBag.ShowManufacturers == true)
{
<li class="nav-item col">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<div class="offcanvas-cart-header offcanvas-tabs">
<ul class="nav nav-tabs nav-tabs-line row no-gutters" role="tablist">
@if (Model.ShoppingCartEnabled)
@if (Model.ShoppingCartEnabled)
{
<li class="nav-item col">
<a id="cart-tab" class="nav-link" data-toggle="tab" href="#occ-cart" role="tab" data-url="@Url.Action("OffCanvasShoppingCart", "ShoppingCart")">
Expand All @@ -28,7 +28,7 @@
</li>
}

@if (Model.CompareProductsEnabled)
@if (Model.CompareProductsEnabled)
{
<li class="nav-item col">
<a id="compare-tab" class="nav-link" data-toggle="tab" href="#occ-compare" role="tab" data-url="@Url.Action("OffCanvasCompare", "Catalog")">
Expand Down