Send an email via php, PHP Web Programming

Only perform this function if the email address submitted is valid and its limit has not been exceeded, and of course the original reporter name and password Authentication has been authenticated.  Refer to the IT 202 Manual for the technique.  Be sure to define the input arguments for the PHP mail function before invoking the mail function.

                        $from                          your own email address.

                        $to                               email address entered on form - not a hardcoded email address.

                        $message                     body of the email should be the contents of the textarea from the form,

                        $subject                       "Incident_report" - plus date of incident - plus reporter name

The email message content must be laid out in a readable fashion which requires using control characters like newline characters to skip lines in the body of the message. Construct the message body by starting off with an empty message:  $message =  ""  ;

            Concatenate additional text on the end of the message using the PHP concatenation operator (dot  .  and  .= ):

                        $message         .=        "This gets added after whatever you have in the message so far. ";

                        $message         .=        "Add newlines and carriage returns \n\r to organize the text out";

Posted Date: 3/29/2013 6:15:34 AM | Location : United States







Related Discussions:- Send an email via php, Assignment Help, Ask Question on Send an email via php, Get Answer, Expert's Help, Send an email via php Discussions

Write discussion on Send an email via php
Your posts are moderated
Related Questions
How the web server interprets PHP and interacts with the client? After installing and configuring PHP, web When PHP is installed, Web server looks for PHP code which is embedde

Now let us start our journey into the realm of Dreamweaver. We start with typing in few test lines in our Design view. See how our work area has been divided in two windows, one di

We are in need of Social Network Design from Ground Up - No Framework We are in search of a company that can create a social network site from the ground up using the latest tec

Use the PHP date function described in IT 202 manual (p. 200), or in w3schools or online PHP manual. Invoke the PHP date function in the script and output to browser. Use a forma

Fashion Luxury Brand Website Design and Development I want someone to design and implement a website for a high end luxury fashion label that I am launching which at the moment

The Date object is utilized to work with dates & times. Creating a Date Instance You must create an instance of the Date object along with the "new" keyword. The following

Need a simple html form having pagedown plugin I want an html form having pagedown plugin in it. There must be submit button on the form which when pressed take submits the edit

Our company is looking for a brilliant PHP Developer to join our dynamic and young online media agency. Must have: - Knowledge in Databases and SQL, proven coding and indexin

PHP Front End Developers - V Portal Seeking a PHP front-end web developer familiar with API to develop web application. Project comprises creating functions following the MVC

Complex JS+HTML5 Drag and Drop WYSIWYG editor We are looking for to a JavaScript Single Page Application that has the following characteristics- a) Selection of components, e