Page 294 - DCAP408_WEB_PROGRAMMING
P. 294

Web Programming




                    Notes          Output:
                                   The  file  system  in  use  is:  NTFS
                                   Self Assessment


                                   Fill in the blanks:
                                   8.  …………………… returns the file name or folder name for the last component in a specified
                                       path.
                                   9.  …………………… copies one or more folders from one location to another.
                                   10.  …………………… returns the complete path from the root of the drive for the specified
                                       path.
                                   11.  …………………… returns the path to some of Windows’ special folders

                                   13.4 Send E-Mail

                                   Using E-mail from shell Account
                                   Let us review how E-Mail works, using an example. In this example, you are using a PC with
                                   Windows OS, which connects to the Internet using TCP/IP (i.e., PPP). Let us suppose you want to
                                   send a mail (or message) to two of your friends: Nitin in Kolkata and Puja in Germany. Nitin
                                   uses a Macintosh and also connects to the Net using PPP. Puja uses a shell account by connecting
                                   to a UNIX host computer. The following steps illustrate the example:

                                   1.  First using a Windows mail client, you compose the message on your own computer.
                                   2.  After you compose the message, address it to both Nitin and Puja.
                                   3.  Once the message is finished, you tell your program to send it on its way.
                                   4.  Now your client program contacts the mail server on your Internet host and, using the
                                       POP protocol, sends your message to the server.
                                   5.  In the next step, the server passes your message to the transport agent.
                                   6.  Now, it is the job of transport agent to look at the addresses in your message and connect
                                       to the appropriate computers over the Net.
                                   7.  First, the transport agent connects it on the host computer in Kolkata that receives mail for
                                       Nitin.
                                   8.  Once the connection is made, the two transport agents use the SMTP protocol to relay the
                                       message.

                                   9.  After the message is sent, your transport agent terminates the connection and forms a new
                                       connection with the transport agent on the appropriate computer in Germany.




                                      Task  In a group of four make a report on advantages of E-Mail in IT company.

                                   10.  Again, the two transport agents use SMTP to relay the message.

                                   11.  Once the message is sent, your transport agent terminates the connection. Its job is finished.






          288                               LOVELY PROFESSIONAL UNIVERSITY
   289   290   291   292   293   294   295   296   297   298   299