Presentation is loading. Please wait.

Presentation is loading. Please wait.

Mail User Agent Submitted by: Geetha Chittireddy.

Similar presentations


Presentation on theme: "Mail User Agent Submitted by: Geetha Chittireddy."— Presentation transcript:

1 Mail User Agent Submitted by: Geetha Chittireddy

2 MUA - Introduction A stand alone tool to compose and send mails. It sends mails to multiple recipients simultaneously. It includes some additional features like error checks, message-ids. This features a simple front end and non expertise can use it.

3 MUA - Implementation It is developed using Java Socket programming. It uses the SMTP protocol. This project is divided into four modules: MailClient, Message, Envelope and SMTPConnection. Each of these modules are explained in the next slide.

4 SMTP HELO HELO 250 OK 250 OK MAIL FROM: MAIL FROM: 250 OK 250 OK RCPT TO: RCPT TO: 250 OK 250 OKDATA<CRLF> 354 DATA 354 DATAQUIT<CRLF> 221 QUIT 221 QUIT

5 MUA – Implemetation contd.. MailClient provides the GUI for entering the address fields and messages and sending the mail. Message provides the headers and body and performs the valid check for sender and recipient addresses. Envelope creates an envelope which holds the sender, recipients and the message information.

6 MUA – Implemetation contd.. SMTPConnection initializes the socket connection, sends mails and closes the connection. Sample code: Sample code: // code to establish a connection connection = new Socket("skinner.villanova.edu",25); InputStream is = connection.getInputStream(); br = new BufferedReader(new InputStreamReader(is)); os = new DataOutputStream(connection.getOutputStream()); String line = br.readLine(); // Sample sendcommand instruction sendCommand("DATA",354);

7 MUA – Screenshot1 Mail Client Window

8 MUA – Screenshot2 Command prompt messages confirming the successful delivery of mail

9 MUA – Screenshot3 The mail in my inbox.. Notice the full header contains Message ID.

10 MUA – Conclusion MUA is simple nice tool to send a mail to multiple recipients. This tool has additional features like address validation. This feature will make sure that the sender or recipient address are in a specific format. This feature will make sure that the sender or recipient address are in a specific format. It also generates a Message-ID which could be used in tracking the person using the MUA in case of misuse. Message-ID is of the form user-id@ip-address Message-ID is of the form user-id@ip-address If I had more time I would extend this proj to include MIME attachments.

11 Thank you!!! - Geetha


Download ppt "Mail User Agent Submitted by: Geetha Chittireddy."

Similar presentations


Ads by Google