Giter Site home page Giter Site logo

emailsender's Introduction

Project Description

An email sending library for .NET designed for testability and reusability. The default SMTP sender within wraps the native .NET framework System.Net.Mail.SmtpClient

This project was inspired by the EmailSender component in Castle Components

The library has been used in production for many months, but the level of abstraction may be unsuitable for your purposes. Please let us know how and where to abstract. Feedback is greatly appreciated.

Interfaces

  • IEmailSender - a very simple email sending interface
  • IRichMesssageEmailSender - a more complex contract that extends IEmailSender

Email Senders

  • SmtpSender - wraps the native .NET Framework System.Net.Mail.SmtpClient
  • GmailSender - extends SmtpSender for getting up and running with Gmail smtp server
  • MockSender - mock sender for use within unit tests

Dependencies

  • .NET Framework v2.0
  • .NET Framework v3.5 (for tests)
  • MbUnit/Gallio 3.0.6 - unit testing framework

Included is a simple app for sending mail with any of the supplied senders using the command line.

Running Unit Tests

Running the unit tests are good if you want to test if a system can actually send mail. To run the unit tests, you'll need to follow set up instructions.

emailsender's People

Contributors

cvertex avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.