Skip to main content

Simple Mail Transfer Protocol (SMTP)


                                          Simple MailTransfer Protocol (SMTP)
SMTP is a simple ASCII protocol for transferring mail between hosts in the TCP/IP suite. After establishing the TCP connection to port 25, the sending machine, operating as the client, waits for the receiving machine, operating as the server, to talk first. The server starts by sending a line of text giving its identity and telling whether it is prepared to receive mail. If it is not, the client releases the connection and tries again later. If the server is willing to accept email, the client announces whom the email is coming from and whom it is going to. If such a recipient exists at the destination, the server gives the client the go-ahead to send the message. Then the client sends the message and the server acknowledges it. No checksums are needed because TCP provides a reliable byte stream. If there is more email, that is now sent. When all the email has been exchanged in both directions, the connection is released.

Simple Mail Transfer Protocol (SMTP) is a formal protocol that defines the message transfer agents (MTA) client and server in the Internet. When the message is send to a mail server, it uses the SMTP to send that mail in receiver’s server. When the message arrives at the destination server, it is then uses POP or IMAP to download the mail from the incoming server. Hence, SMTP is message transfer agent and POP & IMAP are message access agent.

Post Office Protocal(POP) Internet Messadge Access Protocol (IMAP)
1. When you open your mail box, new mails is
moved or downloads permanently from host
server & saves on your computer. Hence, if
you want to see your previous e-mail, you have to go back to the previous computer where you last open your mail.
1.The mail is permanently stored in the server until you delete this. Thus, you can access them from various locations & various times.
2.With POP you have only one folder, index folder, in the mail-server. 2. Mail stay on the server in multiple folders, some of which you have created.
3.User cannot access his multimedia e-mail if he has limited bandwidth. 3. If limited bandwidth is available then a user can partially download e-mail contents.
4. POP has only two modes i.e. keep mode & delete mode for message. 4. A user can create, delete or rename mailboxes on the mail server.
5.Message storage limited only by the capacity of your computer, but if your computer fails; you may lose all your messages. 5. The message storage capacity is limited to 2GB & there is no any affect if your computer fails.
6.Reading your e-mail from multiple computer results the message scatterings. 6.Easily can use the multiple computers or e-mail program to read same mail as it is stored in the mail-server.

Comments

  1. Play Casino games at JT Casino
    Play your favourite slots and table games at JT Casino. Our casino 논산 출장마사지 floor is huge, featuring the best table games. Play your favourite slots 울산광역 출장마사지 and table games and 평택 출장샵 win 강원도 출장안마 real 남양주 출장안마

    ReplyDelete

Post a Comment

Popular posts from this blog

Spring Boot And Angular 4 with Angular CLI Integration

I recently spent the time to setup Angular CLI front-end using IntelliJ and Maven tool. Angular 4 is the next version of Angular 2. In this article, I am going to show how to integrate Angular 4 with SpringBoot RestAPI using IntelliJ step by step. In this article,  1. I used various technologies.  -> Maven  -> IntelliJ  -> SpringBoot  -> Java 8  -> Angular 4  ->Node.js  2. Setup Node.js and NPM.  Install Node.js from Download . And then check Node.js and NPM by node -v and npm -v command respectively. -> Open CMD in Windows and check Node.js and NPM: node -v and npm -v.   3. Install the Angular-CLI using the command line as:  -> open cmd and type npm install -g @angular/cli -> and check Angular-CLI after installing as: ng -v 4. Setup SpringBoot App using IntelliJ as: -> create a simple spring-boot restful app and dependency for the web in pom.xml file as < dependency > < groupId > org.springframework.boot </ groupI

Introduction of Regular Expression

Regular expression is an special kind of API for finding sequence of character that specifies a pattern which can be searched for in a text and data. Usually regex or regular expression can be use to search,  edit and manipulate text and data. Java Regex API provides one interface and three classes in java.regex.util package. 1. MatchResult interface A MatchResult interface represents the result of match operation. It contains query methods used to determines the results of a match against a regex. 2. Matcher class    It is a regex engine that  interprets the pattern and perform match operations on a character sequence. 3. Pattern class A Pattern object is an compiled representation of a regex. 4. PatternSyntaxException class A PatternSyntaxException object is an unchecked exception that indicates a syntax error in a regex pattern. Predefined Character classes Construct Description . Any character (may or may not match line terminators) \d A digit:  [

String vs StringBuffer vs StringBuilder

What is the difference between String, StringBuffer and StringBuilder? String: Java String object is an immutable i.e. unmodifiable. It can be created by two ways by literal and new keyword. StringBuffer: Java StringBuffer is mutable. It can be created by using the new keyword. It is a synchronized means thread-safe. StringBuilder: Java StringBuilder is mutable. It is non-synchronized means not thread-safe.