written 8.3 years ago by | • modified 4.5 years ago |
written 8.3 years ago by |
To send mail, the user, through the UA, creates mail that looks very similar to postal mail. It has an envelope and a message (see Figure 23.6).
Fig15: Format of an e-mail
Envelope :
The envelope usually contains the sender address, the receiver address, and other information.
Message :
The message contains the header and the body. The header of the message defines the sender, the receiver, the subject of the message, and some other information. The body of the message contains the actual information to be read by the recipient.
Receiving Mail :
The user agent is triggered by the user (or a timer). If a user has mail, the UA informs the user with a notice. If the user is ready to read the mail, a list is displayed in which each line contains a summary of the information about a particular message in the mailbox. The summary usually includes the sender mail address, the subject, and the time the mail was sent or received. The user can select any of the messages and display its contents on the screen.
Addresses :
To deliver mail, a mail handling system must use an addressing system with unique addresses. In the Internet, the address consists of two parts: a local part and a domain name, separated by an @ sign (see Figure16).
a. Local Part:
The local part defines the name of a special file, called the user mailbox, where all of the mail received for a user is stored for retrieval by the message access agent.
b. Domain Name:
The second part of the address is the domain name. An organization usually selects one or more hosts to receive and send e-mail; they are sometimes called mail servers or exchangers. The domain name assigned to each mail exchanger either comes from the DNS database or is a logical name (for example, the name of the organization).