Rok Skupek (2010) Application for automatic e-mail forwarding. EngD thesis.
Abstract
The diploma thesis has two main goals: the first objective is to develop a dynamic library, which will contain methods able to download e-mail messages from mail server using POP3 protocol. The second objective involves development of application for processing and distribution of e-mail messages. Introduction cointains presentation of a practical application example in real time situation. Here are described procedures used for development of server - client communication library, which uses POP3 protocol and implicit inclusion of of such library in actual usage. A description of the POP3 protocol, its operations, all types of commands and an example of effective communication between the client and the server follows. Client is sending commands to server through twelve simple commands and the server then replies first with the status and then with a possible answer. As a possible answer may also be a message in RFC-822 format, which consists of the message header and possible attachments. Parsing useful data from this format is also one of the tasks. The entire application is built on three levels, which makes it easier to maintain, upgrade, usage of other database types or even move application to the web. The first half of the core diploma thesis task is focused on the development of library for communication between the client and the mail server using POP3 protocol. The library is developed in the .NET framework using C # programming language. It contains a method for connecting and loging client to the server, which can also be performed using one of two constructors. Essential is also a method that returns all the new e-mail messages from the server, and part of this method used to parse data from message format RFC-822 and fill in the MailDto object. The second part describes the development of application using a three tier programming approach in the .NET framework. Data model diagram of the database is presented in SQL Server 2008 Express, the transfer of data across all three levels of applications and user interface is containing the system for adding of rules for sending e-mail. Also presented in detail ,the method for the generation of the search phrase in the database. This part has also description of a special class for communication with the database. Finally, an example of practical use application and comparismet with application, which has simmilar functionality, is presented in conclusion.
Actions (login required)