Giter Club home page Giter Club logo

pickupmailviewer's Introduction

PickupMailViewer

A web front end for viewing all files created by smtp with deliveryMethod="SpecifiedPickupDirectory" See screenshots of Pickup Mail Viewer in action

There's also support for viewing outgoing SMS messages sent from an application, if they are saved to the same directory as the mails. The SMS messages should be saved as .sms files, with the message, sender and recipient as JSON

{ From:"12345678", To:"987654321", Text:"Lorem ipsum dolor sit amet." }

##Installation## Build and publish to your IIS server. By default the PickupMailViewer will be installed in http://yourserver/MailViewer/ You may edit the publish settings if you want to install in another path.

##Configuration## PickupMailViewer is configured in web.config Default config is

<configuration>
  <applicationSettings>
    <PickupMailViewer.Properties.Settings>
      <setting name="MailDir" serializeAs="String">
        <value>c:\temp</value>
      </setting>
    </PickupMailViewer.Properties.Settings>
  </applicationSettings>
</configuration>

The only settings you can change is MailDir. Default configuration is c:\temp as that matches the setup in my current project. Change it to the same path your application is saving your mails to.

##Sending application configuration## To configure your own application to save all outgoing mails to a folder, edit app.config or web.config for your application to

<configuration>
  <system.net>
    <mailSettings>
      <smtp deliveryMethod="SpecifiedPickupDirectory" from="[email protected]">
        <specifiedPickupDirectory pickupDirectoryLocation="c:\temp"/>
        <!-- This settings isn't used, but without it an exception occurs on disposing
        of the SmtpClient.-->
        <network host="localhost"/>
      </smtp>
    </mailSettings>
  </system.net>
</configuration>

You may of course use a path different from c:\temp

##Is it safe?## ###tl;dr;### No way! ###The longer story### By default there is no login, no encryption. Nothing that prevents anyone to read your sensitive mails. However the PickupMailViewer at least makes an effort to only display information from eml files and only from the MailDir path. No parent folders, no subfolders. That's about the protection you get.

##Continous integration## Latest build exists on AppVeyor.
Click on Artifacts for the latest deploy package.

##Contribution## Feel free to leave a pull request on GitHub.

pickupmailviewer's People

Contributors

albinsunnanbo avatar andersabel avatar hkgwahlberg avatar

Watchers

Jeremy Cook 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.