Posts tagged ‘.NET’

Just some links that help with programming SMTP Sinks for IIS.

  1. SMTP Server Technical Articles Microsoft Windows 2000 SMTP Service Events
    <http://msdn.microsoft.com/en-us/library/ms998608.aspx>
  2. How to write an OnArrival-type SMTP event sink in managed code by using Visual Studio .NET 2003
    <http://support.microsoft.com/kb/894286>
  3. Managed IIS SMTP Sink Wrapper: Message.CopyContentToStream
    <http://codeka.com/blogs/index.php/2005/06/06/managed_iis_smtp_sink_wrapper_message_co>
  4. C# Catchall Onarrival Event sink
    <http://gsexdev.blogspot.com/2005/05/c-catchall-onarrival-event-sink.html>
  5. ESTMP Keywords and Verbs (commands) Define
    <http://smtpfilter.sourceforge.net/esmtp.html>
  6. How to get the IP of the SMTP client
    <http://codeka.com/blogs/index.php/2007/08/08/how_to_get_the_ip_of_the_smtp_client>
  7. Sample Sink
    <http://svn.vestris.com/filedetails.php?repname=Vestris+SVN&path=%2Fsncore%2FSnCore.MailSink%2FSnCore.DomainMail%2FSink.cs&rev=1289 >
  8. Creating a custom authentication sink for IIS SMTP or Exchange
    <http://blog.rednael.com/2008/08/13/CreatingACustomAuthenticationSinkForIISSMTPOrExchange.aspx>

Here is a program that I use to quickly get the images off my flash cards. It's a very simple program; you tell it where the photos are that you want and where you want to put them and it does the rest. It is pretty specific and it does not have much flexibility, so if you happen to like the way it organizes the photos then you'll be happy, but if you want some features added, shoot me an email and I will probably incorporate it.

You can pretty much see from the image below how the photos will be organized in your destination directory. Basically, it creates a "year" folder and a day folder within that. If the file already exists in the destination it will not copy it there. As it copies files it will check to see if it can find image orientation information and will rotate the file accordingly.

I like to use shoot raw together with a small jpeg file. I use the raw as the digital negative and the jpeg as a quick proof of the image. Generally I try to get it right in the camera, and it's also a lot quicker if I just want to take some snapshots and make them quickly available for viewing. Currently it only works with .raw and .jpg extensions, so if you need a different extension let me know and I will add it. I hope you find this useful even though it is a little limited.

Click on the thumbnails below for a closer look...

Download the Program here