Protocols(contd)2+IF-elif-else
Good Morning boys
In today's session also, we will divide the class in two parts.
In the first half , we will learn about few PROTOCOLS used by computers for e-mail purpose and in the second half, we will further look at the detailed working of IF-elif-else Decision Construct, as requested by few students.
--------------------------------------------------------------------
- Understand the need for protocols while communicating on the internet.
- Understand the method of e-mail communication using SMTP Protocol.
- Understand the purpose of authentication.
E-mail Protocols
- E-mail stands for Electronic mail
- E-mail messages are usually sent to an e-mail server which stores received messsages in the recipient's email in box.
- The user retrieves messages with either
- the web browser or
- an e-mail client that uses one of the e-mail retrieval protocols.
- designed for retrieving messages and managing mail boxes
- For this reason Client Applications usually use one of the following to access their mail accounts on a mail server for receiving messages:
- Post Office Protocol(POP) or
- Internet Message Access Protocol(IMAP)
- These protocols are used by Mozilla Firefox thunderbird, Apple mail etc.
Simple Mail Transfer Protocol (SMTP):
- is an internet standard for electronic mail(e-mail) transmission across Internet Protocol(IP) networks.
- Used by electronic mail servers and other mail transfer agents to send and receive mail messages.
- User-level client mail applications generally only use SMTP for sending messages to a mail server for relaying.
- It is ONLY a delivery protocol.
- It cannot retrieve messages from a remote server on demand.
- It has no facility for authentication of senders.
----------------------------------------------------------------------------------------------------------------
EXERCISE
1). Write a program in Python to accept the class of a student (in numbers). If the class entered is 10 or 12, display"Board Class" else display "Non-Board Class".
2) Write a program in Python to accept a number from the user check and print whether it is even, odd or zero.
(NOTE- even numbers on division by 2 give zero as remainder
odd numbers on division by 2 give non-zero remainder)


Good morning mam
ReplyDeleteSahil
Good Morning Ma'am
ReplyDeletegood morning mam
ReplyDeleteashish
Good morning mam
ReplyDelete-Aaron David
Good morning ma'am
ReplyDelete-Geet
Good morning ma'am
ReplyDeleteTejas