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
Woocommerce Theme Customization Hello you will be working on transforming this woocommerce theme Kindly let me know if you are able. You will require to discern woocommerce d

These are those where the content of the web page based on user input. Thus interaction with the user is needed in order to display the web page. For instance, consider a web page

Help with Joomla/Opencart problem I have a website made on Joomla 2.5 using a component called AceShop (which is a bridge for Opencart). I have newly moved the website to a new

I neeed help in CakePHP Project Good knowledge of PHP. 1) Hands-on PHP based framework, Cake PHP 2) Demonstrable knowledge of web technologies including HTML, CSS, Javascript, A

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

Cakephp plugin needed to plot charts with nv3d.js I have a database where I have pairs of date times and values. I want a cakephp plugin that permits me to plot them using nv3d.

This is a 10-minute presentation on Aesthetics in Web Design as part of Interaction Design Class (Human Factors Course) - This is a Graduate Level Course. The grading criteria are

I need help to Convert a non responsive wordpress theme to responsive Twitter Bootstrap3 My website is using a none responsive wordpress theme. I want to translate this theme in

This is part of a Window object & it is accessed by the window. location property. It has the complete URL of any given Window object, or, if none is denoted, of current Window obj

I need help in iFrame integration with my webpage We are in search of web programmer, who can integrate the iFrame of Mailjet with our web page. API documentation is provided