forked from smsohan/MvcMailer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change the version of MvcMailer for ASP.Net 4
- Loading branch information
Showing
2 changed files
with
121 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,103 +1,104 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
<ProductVersion>8.0.30703</ProductVersion> | ||
<SchemaVersion>2.0</SchemaVersion> | ||
<ProjectGuid>{37B58562-EF1A-47FE-A02E-98C82D5FB5BC}</ProjectGuid> | ||
<OutputType>Library</OutputType> | ||
<AppDesignerFolder>Properties</AppDesignerFolder> | ||
<RootNamespace>Mvc.Mailer</RootNamespace> | ||
<AssemblyName>Mvc.Mailer</AssemblyName> | ||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion> | ||
<FileAlignment>512</FileAlignment> | ||
<TargetFrameworkProfile /> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DebugType>full</DebugType> | ||
<Optimize>false</Optimize> | ||
<OutputPath>bin\Debug\</OutputPath> | ||
<DefineConstants>DEBUG;TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
<DebugType>pdbonly</DebugType> | ||
<Optimize>true</Optimize> | ||
<OutputPath>bin\Release\</OutputPath> | ||
<DefineConstants>TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Reference Include="System" /> | ||
<Reference Include="System.configuration" /> | ||
<Reference Include="System.Core" /> | ||
<Reference Include="System.Web" /> | ||
<Reference Include="System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> | ||
<Reference Include="System.Xml.Linq" /> | ||
<Reference Include="System.Data.DataSetExtensions" /> | ||
<Reference Include="Microsoft.CSharp" /> | ||
<Reference Include="System.Data" /> | ||
<Reference Include="System.Xml" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Compile Include="ExtensionMethods\UrlHelperExtensions.cs" /> | ||
<Compile Include="EmptyHttpContext.cs" /> | ||
<Compile Include="ILinkedResourceProvider.cs" /> | ||
<Compile Include="LinkedResourceProvider.cs" /> | ||
<Compile Include="MvcMailMessage.cs" /> | ||
<Compile Include="SmtpClientBase.cs" /> | ||
<Compile Include="SmtpClientWrapper.cs" /> | ||
<Compile Include="TestSmtpClient.cs" /> | ||
<Compile Include="ISmtpClient.cs" /> | ||
<Compile Include="ExtensionMethods\HtmlHelperExtensions.cs" /> | ||
<Compile Include="MailerBase.cs" /> | ||
<Compile Include="StringResult.cs" /> | ||
<Compile Include="Properties\AssemblyInfo.cs" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<None Include="content\web.config.transform"> | ||
<CopyToOutputDirectory>Always</CopyToOutputDirectory> | ||
<SubType>Designer</SubType> | ||
</None> | ||
<None Include="NuGet\input\tools\cs\IMailerMethodTemplate.cs.t4" /> | ||
<None Include="NuGet\input\tools\cs\MailerMethodTemplate.cs.t4" /> | ||
<None Include="NuGet\input\tools\Mailer.Aspx.ps1" /> | ||
<None Include="NuGet\input\tools\Mailer.Razor.ps1" /> | ||
<None Include="NuGet\input\tools\Install.ps1" /> | ||
<None Include="NuGet\input\tools\cs\IMailerTemplate.cs.t4" /> | ||
<None Include="NuGet\input\tools\cs\MailerTemplate.cs.t4" /> | ||
<None Include="NuGet\input\tools\MailerFunctions.ps1" /> | ||
<None Include="NuGet\input\tools\view\aspx\Mail.text.aspx.cs.t4" /> | ||
<None Include="NuGet\input\tools\view\aspx\Layout.text.Master.cs.t4" /> | ||
<None Include="NuGet\input\tools\view\aspx\Layout.Master.cs.t4" /> | ||
<None Include="NuGet\input\tools\view\aspx\Mail.aspx.cs.t4" /> | ||
<None Include="NuGet\input\tools\view\razor\Layout.text.cshtml.cs.t4" /> | ||
<None Include="NuGet\input\tools\view\razor\Mail.text.cshtml.cs.t4" /> | ||
<None Include="NuGet\input\tools\view\razor\Layout.cshtml.cs.t4" /> | ||
<None Include="NuGet\input\tools\view\razor\Mail.cshtml.cs.t4" /> | ||
<None Include="NuGet\MvcMailer.nuspec"> | ||
<SubType>Designer</SubType> | ||
</None> | ||
</ItemGroup> | ||
<ItemGroup /> | ||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> | ||
<PropertyGroup> | ||
<PostBuildEvent>copy *.dll "$(ProjectDir)NuGet\input\lib\40" | ||
xcopy content "$(ProjectDir)NuGet\input\content" /S /Y | ||
cd "$(ProjectDir)NuGet" | ||
IF NOT EXIST output md output | ||
nuget pack mvcmailer.nuspec -b input -o output | ||
</PostBuildEvent> | ||
</PropertyGroup> | ||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. | ||
Other similar extension points exist, see Microsoft.Common.targets. | ||
<Target Name="BeforeBuild"> | ||
</Target> | ||
<Target Name="AfterBuild"> | ||
</Target> | ||
--> | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
<ProductVersion>8.0.30703</ProductVersion> | ||
<SchemaVersion>2.0</SchemaVersion> | ||
<ProjectGuid>{37B58562-EF1A-47FE-A02E-98C82D5FB5BC}</ProjectGuid> | ||
<OutputType>Library</OutputType> | ||
<AppDesignerFolder>Properties</AppDesignerFolder> | ||
<RootNamespace>Mvc.Mailer</RootNamespace> | ||
<AssemblyName>Mvc.Mailer</AssemblyName> | ||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion> | ||
<FileAlignment>512</FileAlignment> | ||
<TargetFrameworkProfile /> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DebugType>full</DebugType> | ||
<Optimize>false</Optimize> | ||
<OutputPath>bin\Debug\</OutputPath> | ||
<DefineConstants>DEBUG;TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
<DebugType>pdbonly</DebugType> | ||
<Optimize>true</Optimize> | ||
<OutputPath>bin\Release\</OutputPath> | ||
<DefineConstants>TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Reference Include="System" /> | ||
<Reference Include="System.configuration" /> | ||
<Reference Include="System.Core" /> | ||
<Reference Include="System.Web" /> | ||
<Reference Include="System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> | ||
<Reference Include="System.Xml.Linq" /> | ||
<Reference Include="System.Data.DataSetExtensions" /> | ||
<Reference Include="Microsoft.CSharp" /> | ||
<Reference Include="System.Data" /> | ||
<Reference Include="System.Xml" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Compile Include="ExtensionMethods\UrlHelperExtensions.cs" /> | ||
<Compile Include="EmptyHttpContext.cs" /> | ||
<Compile Include="ILinkedResourceProvider.cs" /> | ||
<Compile Include="LinkedResourceProvider.cs" /> | ||
<Compile Include="MvcMailMessage.cs" /> | ||
<Compile Include="SmtpClientBase.cs" /> | ||
<Compile Include="SmtpClientWrapper.cs" /> | ||
<Compile Include="TestSmtpClient.cs" /> | ||
<Compile Include="ISmtpClient.cs" /> | ||
<Compile Include="ExtensionMethods\HtmlHelperExtensions.cs" /> | ||
<Compile Include="MailerBase.cs" /> | ||
<Compile Include="StringResult.cs" /> | ||
<Compile Include="Properties\AssemblyInfo.cs" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<None Include="content\web.config.transform"> | ||
<CopyToOutputDirectory>Always</CopyToOutputDirectory> | ||
<SubType>Designer</SubType> | ||
</None> | ||
<None Include="NuGet\input\tools\cs\IMailerMethodTemplate.cs.t4" /> | ||
<None Include="NuGet\input\tools\cs\MailerMethodTemplate.cs.t4" /> | ||
<None Include="NuGet\input\tools\Mailer.Aspx.ps1" /> | ||
<None Include="NuGet\input\tools\Mailer.Razor.ps1" /> | ||
<None Include="NuGet\input\tools\Install.ps1" /> | ||
<None Include="NuGet\input\tools\cs\IMailerTemplate.cs.t4" /> | ||
<None Include="NuGet\input\tools\cs\MailerTemplate.cs.t4" /> | ||
<None Include="NuGet\input\tools\MailerFunctions.ps1" /> | ||
<None Include="NuGet\input\tools\view\aspx\Mail.text.aspx.cs.t4" /> | ||
<None Include="NuGet\input\tools\view\aspx\Layout.text.Master.cs.t4" /> | ||
<None Include="NuGet\input\tools\view\aspx\Layout.Master.cs.t4" /> | ||
<None Include="NuGet\input\tools\view\aspx\Mail.aspx.cs.t4" /> | ||
<None Include="NuGet\input\tools\view\razor\Layout.text.cshtml.cs.t4" /> | ||
<None Include="NuGet\input\tools\view\razor\Mail.text.cshtml.cs.t4" /> | ||
<None Include="NuGet\input\tools\view\razor\Layout.cshtml.cs.t4" /> | ||
<None Include="NuGet\input\tools\view\razor\Mail.cshtml.cs.t4" /> | ||
<None Include="NuGet\MvcMailer.nuspec"> | ||
<SubType>Designer</SubType> | ||
</None> | ||
</ItemGroup> | ||
<ItemGroup /> | ||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> | ||
<PropertyGroup> | ||
<PostBuildEvent>IF NOT EXIST "$(ProjectDir)NuGet\input\lib\40" md "$(ProjectDir)NuGet\input\lib\40" | ||
copy *.dll "$(ProjectDir)NuGet\input\lib\40" | ||
xcopy content "$(ProjectDir)NuGet\input\content" /S /Y | ||
cd "$(ProjectDir)NuGet" | ||
IF NOT EXIST output md output | ||
nuget pack mvcmailer.nuspec -b input -o output | ||
</PostBuildEvent> | ||
</PropertyGroup> | ||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. | ||
Other similar extension points exist, see Microsoft.Common.targets. | ||
<Target Name="BeforeBuild"> | ||
</Target> | ||
<Target Name="AfterBuild"> | ||
</Target> | ||
--> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<package> | ||
<metadata> | ||
<id>MvcMailer</id> | ||
<version>1.2</version> | ||
<authors>S. M. SOHAN, Tyler Mercier</authors> | ||
<description> | ||
MvcMailer sends emails using the MVC views as Email Body with no effort. Here's a quick list of features: a) Use Razor/WebForms views b) Use Master pages c) Write Testable Code d) Pass values to your view using ViewBag or ViewModel and e) Generate Absolute URL using Url.Abs method and f) create multi-part emails by just adding a view file, g) scaffold your mailers. | ||
MvcMailer has a MailerBase class that extends ControllerBase class. So, Mailers are just like your Controllers. As a result, you can use all the controller goodies without any learning curve, period. The end result is a professional looking HTML email body ready for your to send to your website users. | ||
Visit the Project site for a comprehensive tutorial on MvcMailer. | ||
</description> | ||
<dependencies> | ||
<dependency id="T4Scaffolding" version="1.0.7"/> | ||
</dependencies> | ||
<language>en-US</language> | ||
<projectUrl>https://github.com/smsohan/MvcMailer</projectUrl> | ||
<licenseUrl>http://www.opensource.org/licenses/mit-license.php</licenseUrl> | ||
</metadata> | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<package> | ||
<metadata> | ||
<id>MvcMailer</id> | ||
<version>4.0</version> | ||
<authors>S. M. SOHAN, Tyler Mercier</authors> | ||
<description> | ||
MvcMailer sends emails using the MVC views as Email Body with no effort. Here's a quick list of features: a) Use Razor/WebForms views b) Use Master pages c) Write Testable Code d) Pass values to your view using ViewBag or ViewModel and e) Generate Absolute URL using Url.Abs method and f) create multi-part emails by just adding a view file, g) scaffold your mailers. | ||
MvcMailer has a MailerBase class that extends ControllerBase class. So, Mailers are just like your Controllers. As a result, you can use all the controller goodies without any learning curve, period. The end result is a professional looking HTML email body ready for your to send to your website users. | ||
Visit the Project site for a comprehensive tutorial on MvcMailer. This version is for ASP.Net MVC 4 | ||
</description> | ||
<dependencies> | ||
<dependency id="T4Scaffolding" version="1.0.7"/> | ||
</dependencies> | ||
<language>en-US</language> | ||
<projectUrl>https://github.com/smsohan/MvcMailer</projectUrl> | ||
<licenseUrl>http://www.opensource.org/licenses/mit-license.php</licenseUrl> | ||
</metadata> | ||
</package> |