Mtf.EmailService 1.0.1

dotnet add package Mtf.EmailService --version 1.0.1                
NuGet\Install-Package Mtf.EmailService -Version 1.0.1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Mtf.EmailService" Version="1.0.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Mtf.EmailService --version 1.0.1                
#r "nuget: Mtf.EmailService, 1.0.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Mtf.EmailService as a Cake Addin
#addin nuget:?package=Mtf.EmailService&version=1.0.1

// Install Mtf.EmailService as a Cake Tool
#tool nuget:?package=Mtf.EmailService&version=1.0.1                

Usage:

First you have to define your SMTP server. var smtpServer = new SmtpServer("mail.digikabel.hu", 25, false, "user@digikabel.hu", "pass", null, true);

Then create a message sender. var sendMail = new SendMail(smtpServer);

Optionally you can check what happened with your e-mail. sendMail.SentChanged += SendMail_SentChanged;

And finally, you just send your message. sendMail.Send("sender@email.address.hu", "receiver@email.address.hu", "Title of e-mail", "Content of e-mail");

The SentChangedEventArgs has been extended with sender and recipents information.

Product Compatible and additional computed target framework versions.
.NET Framework net is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.1 618 4/19/2020
1.0.0 449 4/14/2020