WorldWideScripts.net Delivering the best Add-Ons in more than 37 languages.

中文(简体), English, हिन्दी/हिंदी, Español/Castellano, العربية, Русский язык, Français, 中文 (台灣), বাংলা, Bahasa Indonesia, اردو, Português, Deutsch, Bahasa Melayu (بهاس ملايو‎), 日本語 (にほんご), فارسی, Italiano, తెలుగు, Türkçe, ગુજરાતી, Język polski/polszczyzna, Tiếng Việt, ಕನ್ನಡ, Українська мова, ไทย
.NET / Communication Tools

Fluent.NET Mail - Dynamic Templated Emailing Framework

— Add-On to WorldWideScripts.net

Subscribe to our feed to stay up to date!

New! Follow us as you want it!


Fluent.NET Mail - Dynamic Templated Emailing Framework - CodeCanyon Item for Sale

Ads

Ad: Bluehost hosting
There are extra licensing options available for this product on avantprime.com, the creators of Fluent.NET Mail. Discounted prices available!

Fluent.NET Mail takes advantage of the built in.NET API and provides the ability to construct and send emails very easily. All the messy work is taken care of in the background and allows the simple focus of easily constructing emails using custom templates including dynamic substitution of data into your template, sending mail in various formats (text & HTML), choosing your means of transportation (SMTP, Network, Pickup), using security certificates, using SSL, sending attachments, sending mail asynchronously plus all the features provided by the.NET framework.

Check out Web Miner, a real world web content mining application which takes advantage of Fluent.NET Mail. See an application preview here. The email miner takes advantage of this fantastic component by sending out templated emails.

.NET Email Pramework Desktop Programs Services FRuent. NET Mail WebsitelWeb Application Web Service Template Component Destination.NET Application Internet

This is the single easiest and most comprehensive.NET emailing API available. Easy to use and powerful!

When would I use this?

  • Sending bulk emails for marketing campaigns. Also check out MassMailer.NET
  • Working with template driven emails (personalizing emails)
  • Very simple, comprehensive and easy to use API
  • Fully functional for secure emails, delivery & read notifications, attachments, alternate views, etc
  • Full support for the.NET SMTP libraries

What are the advantages?

  • Very high performance
  • Simple to use
  • Documented API
  • Support provided at support.avantprime.com
  • Constructs and sends emails using a Fluent paradigm
  • Provides a complete API for sending emails with various configurations including with SSL, mail headers, attachments, alternate views, mail priority, encoding, delivery notification options, etc
  • Send both text and html emails
  • Building emails using text or html templates
  • Complete integration with the standard.NET mail mechanisms & the web.config/app.config
  • Delivery receipts
  • Read receipts
  • Secure emails
  • Plus much more…

What do you get in the package?

  • .NET 3.5 Assemblies
  • Debug files (PDB)
  • XML comments (Intellisense)
  • Documented API
  • Demo application
  • Getting started documentation

Technologies

This component is built using the.NET 3.5 Framework which means in can be used in all.NET applications that are using the 3.5 framework or newer. This includes.NET 3.5, 4.0, & 4.5+.

Support

Ask any questions or suggest features at support.avantprime.com.

How to use this component?

The example shows how to send a personalized text email while loading the template from a file.

 new Mail().To(new MailBox(emailAddress)).From(new MailBox(emailAddress)).Subject("").Text(new MessageTemplate().FromFile("email.txt").DataFrom(new { FirstName = "John", LastName = "Smith" }).BetweenBraces()).SmtpServer("[your smtp server]").Send(); 

The example compares the traditional approach of sending email versus the new fluent approach.

 // Fluent API - Simple, easy with great performance and // behind the scenes memory management new Mail().From(new MailBox(emailAddress, "NoReply")).To(new MailBox(emailAddress, "Support")).Subject("Mail sent " + DateTime.Now.ToLongTimeString()).Credentials(emailAddress, "[password]").DeliveryMethod(SmtpDeliveryMethod.Network).Text(new MessageTemplate().FromText("Hello {FirstName} {LastName}. How are you today?").DataFrom(new { FirstName = "John", LastName = "Smith" }).BetweenBraces()).SmtpServer("[your smtp server]").Send(); 
 // Traditional approach with a detach workflow and // manual memory management. There are of course // no built email personalisation features. var fromAddress = new MailAddress(emailAddress, "NoReply"); var toAddress = new MailAddress(emailAddress, "Support"); var smtp = new SmtpClient { Host = "[your smtp server]", Port = 587, EnableSsl = false, DeliveryMethod = SmtpDeliveryMethod.Network, UseDefaultCredentials = true, Credentials = new NetworkCredential(fromAddress, fromPassword) }; using (var message = new MailMessage(fromAddress, toAddress)) { message.Subject = "Mail sent " + DateTime.Now.ToLongTimeString(); message.Body = "body"; smtp.Send(message); } 

Get lots more examples here: http://www.avantprime.com/products/docs/fluent-net-mail/

Updates:

2.0, November 3rd 2014

Features

  • Upgraded from.NET 2.0 to.NET 3.5 (This is necessary to satisfy a more complex architecture without hacks that cause potential conflicts and warnings)
  • Split architecture into 3 parts (Composer, Distributor, Public API). This change allows both the existing way of using the API and the more granular approach
  • Email building can now be done through the Composer class
  • Email distribution can now be done through the Distributor class
  • Added [BindingName] attribute to override the default property name when substituting values in the template
  • Added the ability to Clone a MailBox through implementation of the ICloneable interface
  • Added the ability to clone a MailConfiguration through implementation of the ICloneable interface
  • Added the ability to clone a MessageTemplate through the implementation of the ICloneable interface
  • Expose the MailConfiguration class which is used the maintain the configuration of a FluentMail instance.

Improvements

  • Minor performance improvements
  • Set defaults for SMTP port if not provided using the values 465 if SSL is requested else 587.

Bug Fixes

  • Fixed MessageTemplate exception when validating a valid message.

Download
Other components in this categoryAll components of this author
CommentsFrequently asked questions and answers

Properties

Created:
11 February 13

Last Update:
3 November 14

Files Included:
C# CS

Software Version:
.NET 3.5,.NET 3.7,.NET 4.0,.NET 4.5

Keywords

eCommerce, eCommerce, All Items, comprehensive email API, easy to use email API, Fluent email API, NET Fluent email, Progressive fluent interface, Send email asynchronously, Send email attachments, send email with SSL, send emails, Send emails in NET, Send encrypted emails, send templated emails, simply way to send emails, substitute values in template, Templated emails