ing With PHP History of Applications or Use

Similar documents
is still the most used Internet app. According to some studies around 85% of Internet users still use for communication.

DOWNLOAD PDF API TO ELECTRONIC MAIL (X,400, ISSUE 2)

An Overview of Protocols and Function

Electronic Mail

Simple Network Management Protocol (SNMP)

System: Basic Functionality

Electronic Mail. Electronic Mailboxes

The Application Layer: & SMTP

Simple Network Management Protocol (SNMP)

Electronic Mail Paradigm

Lecture 6: Application Layer Web proxies, , and SMTP

Electronic mail, usually called , consists of simple text messages a piece of text sent to a recipient via the internet.

Electronic Mail. Prof. Indranil Sen Gupta. Professor, Dept. of Computer Science & Engineering Indian Institute of Technology Kharagpur

CS 43: Computer Networks. 12: and SMTP September 28, 2018

Internet Technology. 03r. Application layer protocols: . Paul Krzyzanowski. Rutgers University. Spring 2016

Electronic Mail (SMTP)

700 Fox Glen Barrington, Illinois ph: [847] fx: [847] Webmail System User Guide

Application: Electronic Mail

Objectives. What Is and How Does It Work? Objectives. and How Does It Work? and How Does It Work?

Public Mobile getting started with your service

Chapter 9: Internet

Microsoft Office Outlook 2010

ECE 435 Network Engineering Lecture 6

Experience in implementing an /web gateway

Emptying the trash...18 Webmail Settings...19 Displayed Name...19 Sort by...19 Default font style...19 Service language...

Lesson 2: Working with

Web Mail Check v 1.0

Internet and Intranet Protocols and Applications

Along the top of the Inbox is a toolbar with icons for commonly used functions within .

CS348: Computer Networks (SMTP, POP3, IMAP4); FTP

. Help Documentation. This document was auto-created from web content and is subject to change at any time. Copyright (c) 2019 SmarterTools Inc.

ATTACHMENTS, INSERTS, AND LINKS...

(electronic mail) is the exchange of computer-stored messages by telecommunication.

How to Enable Images to display in various client programs

Basics. Setting up an Account. Inbox. Your inbox is your starting place when you open your . Your inbox contains all the s that have

Contents. Management. Client. Choosing One 1/20/17

Internet Architecture

(Photos and Instructions Based on Microsoft Outlook 2007, Gmail, Yahoo! Mail, and Hotmail)

Aka (or according to Knuth) Karst Koymans. Friday, September 25, 2015

SMTP. George Porter CSE 124 February 12, 2015

Accessing WebMail. Logging In. Check your Mail. Main Mail Screen. Reading Messages. Search. Sending a new message

Computer Network 1 1

CSC 4900 Computer Networks:

The Application Layer: SMTP, FTP

M+NetMail Client User Guide

Hostopia WebMail Help

Header- A Forensic Key to Examine an


Aka (or according to Knuth) Karst Koymans. Tuesday, September 27, 2016

INTERNET & WORLD WIDE WEB (UNIT-1) MECHANISM OF INTERNET

Using web-based

Who s Marcus? mail() 2008 Marcus Bointon

. Help Documentation. This document was auto-created from web content and is subject to change at any time. Copyright (c) 2019 SmarterTools Inc.

Creating a Coaching

Network Applications and Protocols

Objectives CINS/F1-01

Electronic Mail. Three Components: SMTP SMTP. SMTP mail server. 1. User Agents. 2. Mail Servers. 3. SMTP protocol

Web Outlook. Tenafly Technology Department

WWW: the http protocol

Chapter 2 Application Layer

Applications & Application-Layer Protocols: FTP and (SMTP & POP)

for Apple Users. Carol Fortlage The Villages Apple User Group April 10, 2017

CIT 470: Advanced Network and System Administration. Topics. Mail Policies.

Click the Options link in the upper right corner of the Outlook Web Access window (see illustration below).

Introduction to

Getting Started with Eudora For Windows 2000/XP Keith Roberts

e-storage Mail Archive e-storage Mai Archive

Getting Started with Eudora 6.2.x For Windows 2000/XP

Lesson 25 Communication Services

User Guide. for the VersaMail. application

Lecture 25. Tuesday, November 21 CS 475 Networks - Lecture 25 1

CSC 401 Data and Computer Communications Networks

To: Proofpoint Protection Server administrators From: Proofpoint Re: Informing your user community about encrypting and decrypting secure

CS321: Computer Networks ELECTRONIC MAIL

Appendix A Microsoft Office Specialist exam objectives

2013 edition (version 1.1)

AccessMail Users Manual for NJMLS members Rev 6

An Overview of Webmail

Using the Inbox to Manage Messages

Debian/GNU Linux Mailing

Webmail 7.0 is an online client which runs in your web browser. Webmail 7.0 allows you to access your , contact list, and calendar from

Chapter 20 SMTP. Slides from TCP/IP - Forouzan. User Agent (UA) Addressing Delayed Delivery Aliases Mail Transfer Agent (MTA) MIME POP.

Your message is sent from your computer to a server (like the post office) where the

Motivation For Networking. Information access Interaction among cooperative application programs Resource sharing

Outline. Tools

. Help Documentation. This document was auto-created from web content and is subject to change at any time. Copyright (c) 2018 SmarterTools Inc.

Part 1: BASIC INTERNET

CSCE 463/612 Networks and Distributed Processing Spring 2018

Meeting Invitations. Create and Send a Meeting Invitation. 1. Open your Calendar and click the Schedule a Meeting action button. 2.

Basics BUPT/QMUL

The smarter, faster guide to Microsoft Outlook

Manually Configuration Microsoft Office Outlook 2007 For Hotmail Account

OWA 2013 Getting Started

USER GUIDELINES. Q 2. Is it necessary to configure password retrieval question and answer? How can I do that? Q 3. How can I change password?

TECHNOLOGY COMPETENCY ASSESSMENT MODULE Microsoft Outlook

How Internet Works

FTP. FTP offers many facilities :

File Backup Windows Live Mail 2011 For Gmail

Messaging. Mail Type SMS (Short Message Service) Gmail Internet Mail (POP3/IMAP4)

Outlook 2007 Web Access User Guide

Transcription:

Emailing With PHP What is Email? E mail, short for electronic mail and often abbreviated to e mail, email or simply mail, is a store and forward method of composing, sending, receiving and storing messages over electronic communication systems. History of Email 1. MIT first demonstrated the Compatible Time Sharing System (CTSS) in 1961.It allowed multiple users to log into the IBM 7094 from remote dial up terminals, and to store files online on disk. This new ability encouraged users to share information in new ways. E mail started in 1965 as a way for multiple users of a time sharing mainframe computer to communicate. Note : Time Sharing refers to sharing a computing resource among many users by multitasking. 2. In the early 1970's, Ray Tomlinson was working on a small team developing the TENEX operating system,with local email programs called SNDMSG and READMAIL. 3.In late 1971, Tomlinson developed the first ARPANET email application when he updated SNDMSG by adding a program called CPYNET capable of copying files over the network, and informed his colleagues by sending them an email using the new program with instructions on how to use it. 4. Network capable email was developed for the ARPANET (The ARPANET (Advanced Research Projects Agency Network) developed by DARPA (Defense Advanced Research Projects Agency) of the United States Department of Defense, was the world's first operational packet switching network, and the predecessor of the global Internet) 5. SMTP (standard for e mail transmissions across the Internet) was published as RFC 821 in August 1982, also by Jonathan Postel 6.Allman developed sendmail program, which was distributed with BSD Unix, and has gone on to become the the most commonly used SMTP server on the Internet. Applications or Use 1.The Hotmail service was founded by Sabeer Bhatia and Jack Smith, and was one of the first webmail services on the Internet. It was commercially launched on July 4, 1996, American Independence Day. 2. It was sold at 1997 to Microsoft for a reported $400 million, and it joined the MSN group of services 3.Yahoo! Mail (Started at 1996) is a Web based email (webmail) service from Yahoo!. It is the most used e mail on the Internet, serving over 260 million users.

4. Gmail, officially Google Mail is a free Web based email (webmail), POP3[1] and IMAP[2] e mail service provided by Google. On April 1, 2004 the product began as an invitation only beta release. On February 7, 2007 the beta version was opened to the general public. Technology Used In Email Technology Used In Email The format of Internet e mail messages is defined in RFC 2822 and a series of RFCs, RFC 2045 through RFC 2049, collectively called Multipurpose Internet Mail Extensions (MIME). Internet e mail messages consist of two major sections: * Header Structured into fields such as summary, sender, receiver, and other information about the e mail * Body The message itself as unstructured text; sometimes containing a signature block at the end The header is separated from the body by a blank line. Header The message header consists of fields, usually including at least the following: * From: The e mail address, and optionally the name of the sender * To: The e mail address[es], and optionally name[s] of the message's recipient[s] * Subject: A brief summary of the contents of the message * Date: The local time and date when the message was written Other common header fields include (see RFC 4021 or RFC 2076 for more): * Cc: carbon copy * Bcc: Blind Carbon Copy * Received: Tracking information generated by mail servers that have previously handled a message * Content Type: Information about how the message has to be displayed, usually a MIME type * Reply To: Address that should be used to reply to the sender. * References: Message ID of the message that this is a reply to, and the message id of this message, etc. * In Reply To: Message ID of the message that this is a reply to. * X Face: Small icon. Many e mail clients present "Bcc" (Blind carbon copy, recipients not visible in the "To" field) as a header field. Different protocols are used to deal with the "Bcc" field; at times the entire field is removed, whereas other times the field remains but the addresses therein are removed. Addresses added as "Bcc" are only added to the SMTP delivery list, and do not get included in the message data.

Body Content encoding * E mail was originally designed for 7 bit ASCII. Much e mail software is 8 bit clean but must assume it will be communicating with 7 bit servers and mail readers. Plain Text and HTML * Both plain text and HTML are used to convey e mail. Advantages of HTML include the ability to include inline links and images, set apart previous messages in block quotes, wrap naturally on any display, use emphasis such as underlines and italics, and change font styles. Example Delivered To: anthoniraja@gmail.com Received: by 10.140.203.16 with HTTP; Thu, 20 Mar 2008 00:52:52 0700 (PDT) Message ID: <a235b2140803200052x361499a0h323e8ac1d0d1f19f@mail.gmail.com> Date: Thu, 20 Mar 2008 13:22:52 +0530 From: "xavier suresh" <pxaviersuresh@gmail.com> To: "Anthoni raj" <anthoniraja@gmail.com> Subject: asking iedas MIME Version: 1.0 dear friend happy newyear if you have any picture please send me today Client Server Technology * Messages are exchanged between hosts using the Simple Mail Transfer Protocol with software programs called mail transport agents. Users can download their messages from servers with standard protocols such as the POP or IMAP protocols, or, as is more likely in a large corporate environment, with a proprietary protocol specific to Lotus Notes or Microsoft Exchange Servers. * Mail can be stored either on the client, on the server side, or in both places. Standard formats for mailboxes include Maildir and mbox. Several prominent e mail clients use their own proprietary format and require conversion software to transfer e mail between them. * When a message cannot be delivered, the recipient MTA must send a bounce message back to the sender, indicating the problem.

Filename extensions e mail clients save individual messages as separate files, or allow users to do so. Different applications save e mail files with different filename extensions..eml This is the default e mail extension for Mozilla Thunderbird and Windows Mail. It is used by Microsoft Outlook Express..emlx Used by Apple Mail..msg Used by Microsoft Office Outlook. Sendmail Configuration in php.ini file # vim /opt/lampstack/php/etc/php.ini [mail function] ; For Win32 only. SMTP = localhost smtp_port = 25 ; For Win32 only. ;sendmail_from = me@example.com ; For Unix only. You may supply arguments as well (default: "sendmail t i"). sendmail_path = sendmain t i ; Force the addition of the specified parameters to be passed as extra parameters ; to the sendmail binary. These parameters will always replace the value of ; the 5th parameter to mail(), even in safe mode. ;mail.force_extra_parameters = Simple Example <?php $to = 'amalantonyraj@yahoo.co.in'; $subject = 'From PHP'; $message = 'Test';?> if(mail($to, $subject, $message)) { echo "Mail has been sent succesfully"; } else { echo "Server error"; }

Mail Function in PHP Syntax mail Send mail Description bool mail ( string $to, string $subject, string $message [, string $additional_headers [, string $additional_parameters ]] ) Parameters to Receiver, or receivers of the mail. The formatting of this string must comply with» RFC 2822. Some examples are: * user@example.com * user@example.com, anotheruser@example.com * User <user@example.com> * User <user@example.com>, Another User <anotheruser@example.com> subject Caution Subject of the email to be sent. This must not contain any newline characters, or the mail may not be sent properly. message Message to be sent Each line should be separated with a LF (\n). Lines should not be larger than 70 characters. additional_headers (optional) String to be inserted at the end of the email header. This is typically used to add extra headers (From, Cc, and Bcc). Multiple extra headers should be separated with a CRLF (\r\n). additional_parameters (optional) sending mail using the sendmail_path configuration setting. For example, this can be used to set the envelope sender address when using sendmail with the f sendmail option.