MailMessage 2.0.0
See the version list below for details.
dotnet add package MailMessage --version 2.0.0
NuGet\Install-Package MailMessage -Version 2.0.0
<PackageReference Include="MailMessage" Version="2.0.0" />
paket add MailMessage --version 2.0.0
#r "nuget: MailMessage, 2.0.0"
// Install MailMessage as a Cake Addin #addin nuget:?package=MailMessage&version=2.0.0 // Install MailMessage as a Cake Tool #tool nuget:?package=MailMessage&version=2.0.0
WP7 and WP8 SMTP client library to send emails without using the EmailComposeTask, and attach any type of file.
Main Features:
• connects to Microsoft Live, Gmail or to a custom SMTP mail server (SSL/TLS compatible).
• supports any kind of attachment, from resource or isolated storage: pdf, mp3, wav, mp4, avi, bmp, txt, zip, jpg, etc.
• sends an email without calling EmailComposeTask and does not need user intervention.
• multithreaded: will not freeze/block your UI.
• works on wifi and data connection.
• 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).
Usage scenario:
//create a new MailMessage object
MailMessage mailMessage = new MailMessage();
//set a Live/Hotmail or Gmail, or a custom SMTP account (ssl/tls)
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 | Versions Compatible and additional computed target framework versions. |
---|---|
Silverlight | sl4-wp71 is compatible. |
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.
Component page:
http://www.geekchamp.com/marketplace/components/livemailmessage
Full version:
• write to buy@venetasoft.it
• lifetime free updates and support.
• use it on as many complete WP apps as you want.