1 / 11

Mail User Agent

Mail User Agent. Submitted by: Geetha Chittireddy. 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.

Download Presentation

Mail User Agent

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

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<SP> <DOMAIN> <CRLF> • 250 OK • MAIL<SP> FROM: <Reverse-Path> <CRLF> • 250 OK • RCPT<SP> TO: <Forward-Path> <CRLF> • 250 OK • DATA<CRLF> • 354 DATA • QUIT<CRLF> • 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: // 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. • 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 • If I had more time I would extend this proj to include MIME attachments.

  11. Thank you!!! - Geetha

More Related