Part 2

So its the second week in. I have managed to create a console application that was originally extremely haxor. Slowly it is getting there.

DONE:

  • Pull messages off Exchange server at regular intervals
  • Download attachments to byte[]s
  • Parse mail body for key words.
TODO:
  • Further test the mail body parser
  • Change the Poll() to a search in the service application
  • Test mail collector using the mocking frame work
  • Start wiring together a working exe
Im totally loving it, but am so fucking tired!!

Posted byShitwolf at 1:02 AM 0 comments  

First Job part1

This is my first job out of uni and Im writing a windows service using .NET. The service regularly contacts the exchange server, checks for mail at 2 different mailboxes, possibly over a different domain. It picks up the mail in a mail box and possible attachments. Then it does some mail parsing and decides what to do with the content of the mail and possible attachments ( and then possibly alert another user program ). It then may or may not send a return email to the sender with various information.

So I have set up 3 users on the exchange server, mailbox1 ,mailbox2 and the test user. I will use the test user in my unit tests to test the service. Also I am having trouble debugging the service, I think its a little hard and I dont want to waste time not producing in my first job, therefore i will create a consol application, then once im satisfied with the state of it I will change it to a service application.

Posted byShitwolf at 3:02 PM 0 comments