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
HTML / CSS Developer for Joomla Based Site I want an experienced HTML/CSS developer to develop HTML/CSS from PSD designs for a Joomla based site for a mobile focused company.

PSD to Responsive HTML5 / CSS3 I want someone who can offer a rapid reversal on this project. We will provide you with the full PSD file we will need you to create a five pag

how to creat a register and login form

Need WordPress expert with Responsive design experience for "Customizr" theme We want help from a Wordpress guru who can repair bugs with WP Customizr theme [CSS PHP code errors

Rap Genius Clone I am seeking someone that will build a very similar website as (though the content will be very different). The functionality will pretty much be the similar (u

We need help to make to improve our Website Time Card Our website is built on WordPress. We have up to 100 remote employees who want to submit time cards to us. Presently the

Data migration from PDG cart to Magento Job Description- I am seeking a Web Developer to migrate PDG shopping cart to Magento Your qualifications- a) Previous experienc

What is the difference between $message and $$message? Main difference between $message and $$message is that former is a simple variable and later is a reference variable. $me

FaceBook share On html page (NOT WORD PRESS) I need help adding a face book share The bottom instance is what I need. It needs to pull in title, description as well as image

Hyperlinks or links are one of the most significant characteristics of web pages. A link moves us from the present page to a destination which is specified in the HTML page. URL