Emails on internet

Embed Size (px)

Citation preview

  • 7/30/2019 Emails on internet

    1/30

    Hello.. ladies and gentlemen!!!

  • 7/30/2019 Emails on internet

    2/30

    ailE-

  • 7/30/2019 Emails on internet

    3/30

  • 7/30/2019 Emails on internet

    4/30

    ailE-

    Electronic mail, or e-mail has been around for

    over two decades.

    has its own conventions and styles

    little ASCII symbols called smileys or

    emoticons in e-mail

  • 7/30/2019 Emails on internet

    5/30

    rotating the book 90 degrees clockwise will

    make them clearer

  • 7/30/2019 Emails on internet

    6/30

    The first e-mail systems simply consisted of

    file transfer protocols

    recipient's address

    1. Sending a message to a group of people was

    inconvenient

    2. Messages had no internal structure, making

    computer processing difficult.3. The originator (sender) never knew if a message

    arrived or not.

    Limitations of the above approach:

  • 7/30/2019 Emails on internet

    7/30

    4. If someone was planning to be away on

    business for several weeks and wanted all

    incoming e-mail to be handled by his

    secretary, this was not easy to arrange.

    5. poor user interface

    6. no multimedia support

  • 7/30/2019 Emails on internet

    8/30

    Architecture and Services

    overview of what e-mail systems can do and

    how they are organized

    consist of two subsystems:

    user agents

    message transfer agents

  • 7/30/2019 Emails on internet

    9/30

    e-mail systems support five basic functions

    Composition refers to the process of creatingmessages and answers

    Transfer refers to moving messages from theoriginator to the recipient

    Reporting has to do with telling the originatorwhat happened to the message

    Displaying incoming messages is needed sopeople can read their e-mail

    Disposition is the final step and concerns whatthe recipient does with the message afterreceiving it.

  • 7/30/2019 Emails on internet

    10/30

    Additional services:

    mailboxes

    mailing list

    carbon copies blind carbon copies

    high-priority e-mail

    secret (i.e., encrypted) e-mail

  • 7/30/2019 Emails on internet

    11/30

    Key ideas:

    envelope contains all the information needed

    for transporting the message, such as the

    destination address, priority, and security level

    message:

    header

    body

  • 7/30/2019 Emails on internet

    12/30

    Envelopes and messages. (a) Paper mail. (b) Email.

  • 7/30/2019 Emails on internet

    13/30

    The User Agent

    A program (sometimes called a mail reader)that accepts a variety of commands for

    composing

    receiving replying to messages

    manipulating mailboxes

    User agent interface: fancy menu- or icon-driven

    1-character commands from the keyboard

  • 7/30/2019 Emails on internet

    14/30

    Sending E-mail:

    the destination address

    a word processing program, or possibly with a

    specialized text editor built into the user agent

    destination address format: user@dns-address

    Most e-mail systems support mailing lists:

    locally remotely

  • 7/30/2019 Emails on internet

    15/30

    Reading E-mail

    K:read or unread

    A:answered(replied)

    F:forwarded

    Flags: Command user interface:D:deleteK:read or unread

    A:answered(replied)

    F:forwarded

  • 7/30/2019 Emails on internet

    16/30

    Message Formats

    RFC 822:

    basic e-mail system using ASCII encoding

    designed decades ago no clear distinction between envelope fields

    and header fields

    user agent builds a message and passes it tothe message transfer agent

  • 7/30/2019 Emails on internet

    17/30

    RFC 822 header fields related to

    message transport

  • 7/30/2019 Emails on internet

    18/30

    Some fields used in the RFC 822

    message header

  • 7/30/2019 Emails on internet

    19/30

    MIMEThe Multipurpose Internet Mail Extensions

    Earlier e-mail systems: English and ASCII using RFC 822

    Problems include sending and receiving:

    1. Messages in languages with accents (e.g., French

    and German). 2. Messages in non-Latin alphabets (e.g., Hebrew and

    Russian).

    3. Messages in languages without alphabets (e.g.,

    Chinese and Japanese). 4. Messages not containing text at all (e.g., audio or

    images).

  • 7/30/2019 Emails on internet

    20/30

    RFC 822 headers added by MIME

    ASCII String

    message id

    Type of encoding

    7 types

  • 7/30/2019 Emails on internet

    21/30

    MIME header, continued

  • 7/30/2019 Emails on internet

    22/30

    Message Transfer : SMTP

    transferring the message between sender and

    receiver

    SMTP : simple mail transfer protocol

    TCP connection to port 25 of the destination

    machine

    No checksums are needed because TCP

    provides a reliable byte stream

  • 7/30/2019 Emails on internet

    23/30

  • 7/30/2019 Emails on internet

    24/30

    Problems with SMTP:

    older implementations cannot handle

    messages exceeding 64 KB

    different timeouts for client and server

    solution extended SMTP (ESMTP)

    clients wanting to use it should send an EHLO

    message instead ofHELO initially

  • 7/30/2019 Emails on internet

    25/30

    POP3(Post Office Protocol V3):

    simple download-and-delete requirements foraccess to remote mailboxes

    POP3 begins when the user starts the mail

    reader TCP connection to port 110

    Goes through 3 states:

    Authorization

    Transactions

    Update

  • 7/30/2019 Emails on internet

    26/30

  • 7/30/2019 Emails on internet

    27/30

    POP3

  • 7/30/2019 Emails on internet

    28/30

    IMAP (Internet Message Access Protocol)

    all the e-mail will remain on the server

    indefinitely in multiple mailboxes

    reading even parts of messages for slower

    modem connections

    allows for creating, destroying, and

    manipulating multiple mailboxes on the server

  • 7/30/2019 Emails on internet

    29/30

    Comparison b/w POP3 and IMAP:

  • 7/30/2019 Emails on internet

    30/30

    Thank

    U