PHP Error


Posted on 16th Feb 2014 07:03 pm by admin

On my .php page I have a drop down box that has several names in it. When a user clicks the name & fills the rest of the form out, an email is sent to a supervisor. It works great EXCEPT, if I choose the first choice in the drop down box & submit it I get an error.

Here is the line of code the error references:

if (mail($email, "message1", $message, "message2")) {


The error is below:

Notice: Undefined variable: email on line 74
Warning: mail() [function.mail]: SMTP server response: 503 Issue RCPT TO: command before DATA command on line 74

Any ideas

No comments posted yet

Your Answer:

Login to answer
306 Like 18 Dislike
Previous forums Next forums
Other forums

Including calander to page - will not show other months than current??
im trying to add an existaing calander onto a profile page by using Code: <?php include "

need a script for 3 pages
I have a customer who wants me to set up a site with a number of pages with the following requiremen

Ajax Issues - Update Panel / Timer. Intellisense doesn't know about them
Type 'System.Web.UI.ScriptManager' does not have a public property named 'UpdatePanel'. That is wha

Is there a quick way to do this?
Hi all,

I need to create a mysql table from php that goes a little something like this

Somebody hacked into my site and changed coding >>> URGENT HELP NEEDED <<<
I am not that much into programming , but somebody is hacking to my site and injecting some kind of

Retrieving innerHTML with cURL?
Hey all (sorry I know I'm a leecher, but I soon won't be. This is my first PHP project, but not my l

How to use Ajax to verify data on a DB ?
Hello everyone, well i want to know how to check a value if it exists or not on a Data base and capt

search query in mysql in php problem
my search query wont work, i know, that my codes are correct.please help

Code: [Select]&l

Having a problem get the selected item from a drop down menu
I have been looking at this for days now.

I have a drop down menu that get it's values from a

Code working in IE but not FireFox
I created a dynamic navigation list for my website based off of a table in my database. The code is

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash