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
Want Professional Looking Table in HTML / CSS Want an experienced HTML or CSS developer to create a table which we is able to use on several web pages and that can be edited ver

Corresponds to the FORM TARGET attribute. • Text - It is an object representing a text field. • Text area - It is an object representing a text area field. Some of the F

Need for Building eCommerce Website from Scratch We are seeking at starting a brand new online company and need an amazing website to match. Therefore far we have worked with

Text-Book This is a new concept that is needed to be brought to life. More will be discussed with the Developer I am working with. In a nut shell it is a social network connecti

Flash and Audio Streaming with Recording I need to add audio streaming as well as recording feature to my chat application. This is additional feature. Chat application has b

Real Estate Website and Mobile apps(iOS & Android) High Level Project Description I am seeking to create user friendly mobile responsive Real Estate website as well as Mobile

Question: (a) (i) How does HTML allow you to insert an image on a page with an alternate text if the image is not loaded? (ii) If after uploading your site, all the images

Experienced PHP and Ruby on Rails Programmer Required We have a requirement of Experienced and dynamic PHP and Ruby on Rails developer who can work in PHP 3rd party APIS and can

Website Graphic Design and CakePhP Features Project Description: Installation of a number of small features and changes on Cake PhP site, as well as changing the graphics of

APP IOS - Scan QRCODE Project Description: We need the one team with maximum availability, that indicates us what is required in the project, and configure our hardware as re