Sending & Receiving Messages through an SMTP Server
- Author Devis Eliot
- Published January 27, 2011
- Word count 541
In August 1982, Information Sciences Institutes proposed Simple Mail Transfer Protocol, nowadays commonly referred to as SMTP, as the most standard way to send and receive mail messages. The older methods of mail sending involved some complications and that is why the easiest method of mail sending and receiving did not take much time to be popular. Since the time of its application, SMTP has undergone several changes and regular revisions have made significant extension of the protocol but the fundamental method of mail sending has remained the same.
SMTP is text based and delivery of binary data is not supported by it. But there is an advantage of its being text-based. Both maintenance and implementation are fairly easy. SMTP has emerged as an ideal protocol in the field of mail sending and receiving via net. Every network administrator must have a good hang of how this protocol functions.
Learning this protocol is not at all hard. Direct communication with an SMTP server only requires Telnet or something like that which has the requisite capacity of sending ASCII data over TCP/IP port 25. This protocol transaction can be divided into five segments such as Handshake, Send reply address, Send recipients, Send message data and End transaction. Now let us describe each of these parts in brief.
Handshake: After the connection with an SMTP server is established on port 25, the message sender has to wait a little until the recipient accepts the connection. Once the receiver identifies himself through a suitable format, the sender must introduce himself or herself to the receiver through 'Hello' command. The mail server requires both sender and receiver to identify themselves by using a domain name. This name is of immense importance for the verification of the server's identity. The successful completion of the 'Handshake' process is recognized by the SMTP server by generating the 'OK' message.
Send Reply Address: Immediately after the handshake of two servers, SMTP transaction starts and the server accepts commands from the users. Sending message to a user on the server is easy. One point that we have to take care of is to provide a reply address at first. In the event of any error during transaction, the message will be sent to this address. The acceptance of the address will reflect through 250 OK reply.
Send Recipients: Once a reply address is set up, we are allowed to identify who the recipient of the message is. If the receiver accepts mail, it will send response through a 250 OK reply. In case of failure, suitable error code will let the sender know about it.
Send Message Data: Though sending data through SMTP does not involve any serious complication but sending binary attachment is
not so easy. Text message does not require using the multi-part MIME format. Remember that all the messages end with a line that contains only a period character. Header information such as Date, Subject, To, Cc, From can be sent prior to dispatching the message via net.
Ending Transaction: So far whatever has been accepted by the receiving SMTP server is of disposable nature implying that everything will be deleted in the event of disconnection. So the command 'Quit' must be entered to prevent the deletion of the sent messages.
There are no posted comments.
- Powerful business email with MDaemon Messaging Server
- Email Marketing By Spoken Communication
- MDaemon Messaging Server - a business email server for Windows
- How to Reinstall AOL Desktop Gold
- Avaya Users Email List - Avaya Users Mailing Data - B2B Technology Lists
- Autodesk Users Email List - Buy AutoDesk User List - B2B Technology Lists
- Actuate Users Email List - Actuate Users Mailing List - B2B Technology Lists
- Email etiquette nightmares we could all do without
- Microsoft Outlook problems like freezing, corrupt PST, Profile, Add-in, and so forth
- Print to Mail Automation for Corporate Businesses.
- Get Reliable Solution to Wipe Out Hiccups Related To Hotmail
- B2B Mailing List | B2B Email List | B2B Data List-B2B Leo
- VMware Users Email List-B2B Leo
- How to Download AOL Desktop Gold?
- Automail: Commercial Printing, Mailroom Automation, and Beyond
- Why Disaster Recovery Solutions is Unavoidable?
- E-delivery is the Green Step to Business Success
- How important is Automail System for B2B Communications?
- How to prevent e-mail attacks
- Can social media replace email marketing?
- QuickLock - A Disruptive New Office Technology?
- Don’t Let Your Email Ruin Your Chances: Professional Email Etiquette
- Top 5 Email Marketing Strategies
- Increasing Email Productivity with Gmail Filters
- 7 Subject Line Tricks to Get Your Emails Opened
- How To Make Your List More Responsive
- Lead Capture Systems – Getting More Customers
- Do’s and Don’ts when sending email
- Easy steps on how to build your Email marketing list
- Do More with Your Email with the EverDesk Email Client