MailMessage 1.3.3

There is a newer version of this package available.
See the version list below for details.
dotnet add package MailMessage --version 1.3.3                
NuGet\Install-Package MailMessage -Version 1.3.3                
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="MailMessage" Version="1.3.3" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MailMessage --version 1.3.3                
#r "nuget: MailMessage, 1.3.3"                
#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 MailMessage as a Cake Addin
#addin nuget:?package=MailMessage&version=1.3.3

// Install MailMessage as a Cake Tool
#tool nuget:?package=MailMessage&version=1.3.3                

Main Features:
• connects to Microsoft Live, Gmail or to a custom smtp mail server through a direct and secured ssl connection.
• does not use any web service.
• supports any kind of attachment, from resource or isolated storage.
• sends an email without calling EmailComposeTask and does not need user intervention.
• WP7 and WP8 compatible.
• multithreaded: will not freeze/block your UI.
• works on wifi and data connection.
• 100% managed code, perfectly compliant to app certification (see the certificated App list below).
• comes with a complete VS2012 demo project, a functional demo App ready to be deployed to your phone for testing the library.
• lifetime upgrades and support via email/forum.
• supports international charset (Chinese).

//create a new MailMessage object
MailMessage mailMessage = new MailMessage();

//set a Live/Hotmail or Gmail, or a custom SMTP account
mailMessage.UserName= "*****@hotmail.com;
mailMessage.Password = "********";
mailMessage.AccountType = accountType.MicrosoftAccount;
mailMessage.From = "myapp@mycompany.com";

//set mail data
mailMessage.To = "foo@foo.com";
mailMessage.ReplyTo = "foo5@foo.com";
mailMessage.Subject = "Hello from WP";
mailMessage.Body = "I can send any type of attachment from my app now !!";   //text or HTML

//attach ANY KIND of file from a resource or IsolatedStorage path
mailMessage.AddAttachment("\rex\file.wav");
mailMessage.AddAttachment("\myFolder\file.mp3");
mailMessage.AddAttachment("\downloads\file.mp4");
//attach from in-memory data:
mailMessage.AddAttachment(Encoding.UTF8.GetBytes("yesssss".ToCharArray()), "memoryfile.txt");

//set message event handlers
mailMessage.Error +=  mailMessage_Error;
mailMessage.MailSent += mailMessage_MailSent;
mailMessage.Progress += mailMessage_Progress;  

//send email (async)
mailMessage.SendMail();

Support:  support@venetasoft.it

Product Compatible and additional computed target framework versions.
Silverlight sl4-wp71 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
2.0.2 5,184 3/4/2014
2.0.1 1,948 3/4/2014
2.0.0 1,907 3/2/2014
1.3.3 1,622 3/2/2014
1.3.2 1,814 3/2/2014
1.3.1 1,844 3/2/2014

Free version:
• fully functional but time limited. It opens a popup window and adds a "demo" string on subject and body.

Full version:
• write to buy@venetasoft.it
• lifetime free updates  and support.
• use it on as many complete WP apps as you want.