Jump to content

error with email form


sevans

Recommended Posts

My other issue was resolved so I have another here with an email form.

I keep getting undefined variables when filling out the form. I get the email but it is blank. again i cant thank you people enough

-------------------------------------------------------------------------------------------------------------------

<?php

  $notes = stripcslashes($notes); $messageis = "Please send an investor kit to the following prospect: \n

PROSPECT:

$firstname $lastname \n

 

------------------------

 

TITLE:

$title \n

ORGANIZATION:

$organization \n

 

------------------------

 

INVESTOR TYPE:

$investortype \n

 

------------------------

 

ADDRESS:

$address \n

$city , $state $zipcode \n

$country \n

 

------------------------

OTHER CONTACT INFORMATION:

phone number: $phone \n

fax number: $fax \n

email: $email \n ";

 

$messageme =$messageis;

 

$from = "From: OncologyMed.com\r\n";

 

mail("[email protected]", $organization, $messageme, $from);

?>

Link to comment
https://forums.phpfreaks.com/topic/68714-error-with-email-form/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.