Friday, March 29, 2019

Simple Mail Transfer Protocol Computer Science Essay

sincere get off Transfer Protocol Computer Science Essayelectronic mail as k flatn as email is a juncture of chargeing and reliable put across all over the internet. Basically, protocol is a archetype method habituate by vector or recipient to diff consumption in fix upion. It heap also be explain by to deal with email, sender or recipient must access to mail boniface by a mail client to exchange indata formattingion by victimization variety of protocol such as SMTP, POP and mimic.1.2 unprejudiced Mail Transfer Protocol (SMTP)SMTP is only use to send email, but non received email. SMTP provides a set of cypher that allow server to get away up the email pass to different parts of categories that squeeze out hear by the server and Its a kind of simplify the talk amidst server and email. For exploiters, they can see the interface of their email softw be when make-up an email inwardness, but once the marrow has been send out on the internet, everything is chang e into suck of textual matter that can understand by the server. This string of text is separated by meter and code words that utilize to see the purpose of distributively section and SMTP provides these codes to let email server understand what they means.SMTP also can set up communication rules between the servers. For example, server can identify themselves and exit announce what communication they be trying to perform and the other server will authorize and identify the operation, if something went wrong, the receiving server may reply an error center.The greater advantages of SMTP are comfort and trustworthy. SMTP provides the simplest form of sending an email address between various calculating machine and network. Users only need to enter recipients email address and type in email center to send and the email will go through with(predicate) a simple process from the SMTP to exchange server for the recipients computer. Since the SMTP is simple, email substance ca n be sent quickly and easily. In addition, SMTP is trustworthy be exertion when the upcoming message is non successfully sent, SMTP will keep trying to re-send the selfsame(prenominal) email message until its successful.Since SMTP was cookd in the early of 1980s. SMTP was build according to primary concept of server communication, because of that SMTP consists of several disadvantages. In those days, Internet was only use by very close community that generally trusted each other, that cause SMTP has lax security holes. For example, it is easy to send email message with fake sender address. This also cause many email- motifd viruses spread over the internet. Although there have been improve has been made, but it can still cause problems.Most servers these days actually use an updated version of SMTP called Extended Simple Mail Transfer Protocol (ESMTP) that allow to sends pictures or music read through their email program.1.3 Post representation Protocol (POP)Post Office Proto col (POP) is used to retrieve email from a central base where the email stored and designed to support offline email processing. When the email is delivered to the server, a outside email client will periodically download the messages from the server and dribble them into appropriate exploiters folder. Once the email has been received from the client, the message will be permanently deleted from the email server.One of the advantages of POP is once the email message is sent to the client, the message can be read immediately whether user is connected to the internet or not. Furthermore, POP is a very familiar email protocol that all email clients can support it. in that respect is a disadvantage of POP is inadequate for the mobile user. Because of email message is downloaded to recipient PC, the user will only able to access the message from one PC. According to this, POP may cause hazel and awkward for user to read message only from one PC.Diagram 1 POP email system1.4 Multipur pose Internet Mail Extensions (MIME)MIME allows user to transfer image, sound, and program as non-text email format bail in email across the internet. MIME was introduced to improve SMTP in vow to send message other than ASCII characters through web client and web server. Now, MIME provides the following extension to email Non-text attachment such as video, images, audios and other multimedia messages. Send multiple objects within a bingle message. Write header information in non-ASCII character sets. Write text with unlimited length. Character sets other than US-ACSII.Nowadays, almost every mail is genetic using MIME format through SMTP. Content type that defined by MIME also benefits Hypertext Transfer Protocol (HTTP) and other communication protocol in email transmission function. As MIME can support character sets other than 7-bit ASCII, languages based on other alphabets can be display correctly presented in a basic email. In turn, SMTP that only support 7-bit ASCII has t he limit of languages display that only suitable for create verbally in English and other small number of language. Moreover, MIME allows user to send other type of information such as images, sounds videos and software system program which was not possible to do so in anterior time. In additional, to identify the true nature of a file that is universe used in transmission, MIME provides header information to client who received the transmission and selects the protocol to transmit data according to the header. Furthermore, to ensure non-text attachments will be transferred successfully with maximum protection, MIME used Base64 encoding to convert the non-text information into text when email transfer. Overall, these all explain the advantages of MIME need to email user nowadays.Not surprisingly, there have been a numbers or disadvantage of MIME. For example, the encoding process of MIME may in some way increase the complexity of gateways because a 7-bit world has to encode 8 -bit message. Furthermore, a multipart message could lead to passing same data to decode several time. Nevertheless, it now has to pass only the lower-level parts to encode rather than whole message to reduce troublesome.2.0 How to apply the SMTP and MIME with ASP.NET2.1 Requirements to use SMTP and MIMEThe following is the requirements to develop ASP.NET applications.The .NET Framework 2.0A code-authoring environmentA web server, such as Internet Information Services (IIS), and permission to write files to web server.To send email using SMTP server, fsocketopen function need to be enabled. Furthermore, come forthgoing merchandise to port 25 by default or whichever port that use to connect to SMTP server must be allowed. Lastly, there must be a valid SMTP server to send email. If one of the above is not successful, errors message such as No connection, Unauthorized and Timed Out will be displayed.REQUIREMENT OF MIME2.2 Steps on how to create apply and configure SMTP and MIME in A SP.NET project.2.2.1 SMTPOpen up the default.aspx code window from the project, and examine the code used to send an email.Include cardinal imports in default.aspx to run the project and send email message.The application uses the System.Net.Mail libraries to format and send STMP based email message.Declare the variables used to contain information used in sending email.Code send buttons Click pillowcase handler, this handler capture users inputs from the page and assign to related variables, then format the message using the variable content. Server and port setting are extracted from the AppSettings contain in web.config file.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.