"; print_r($_POST); echo ""; //exit; $emailpro = $_POST['emailProductStoreId']; $istrade = $_POST['istrade']; $fname = $_POST['USER_FIRST_NAME']; $lname = $_POST['USER_LAST_NAME']; $country = $_POST['CUSTOMER_COUNTRY']; $address = $_POST['CUSTOMER_ADDRESS1']; $city = $_POST['CUSTOMER_CITY']; $state = $_POST['CUSTOMER_STATE']; $postal = $_POST['CUSTOMER_POSTAL_CODE']; $phone = $_POST['CUSTOMER_HOME_CONTACT']; $email = $_POST['CUSTOMER_EMAIL']; $companyName = $_POST['companyName']; $website = $_POST['website']; $hearAboutUs = $_POST['hearAboutUs']; $tax = $_POST['tax']; $proaff = $_POST['professionalAffiliations']; $bizdes = $_POST['businessDescription']; $comments = $_POST['trd_Comments']; $mail_body = "Trade Registration Request\r\n\r\n"; $mail_body .= "Email Product Store Id: ". $emailpro ."\r\n"; $mail_body .= "Is Trade: ". $istrade ."\r\n"; $mail_body .= "First Name: ". $fname ."\r\n"; $mail_body .= "Last Name: ". $lname ."\r\n"; $mail_body .= "Country: ". $country ."\r\n"; $mail_body .= "Address: ". $address ."\r\n"; $mail_body .= "City: ". $city ."\r\n"; $mail_body .= "State/Province: ". $state ."\r\n"; $mail_body .= "Zipcode: ". $postal ."\r\n"; $mail_body .= "Phone: ". $phone ."\r\n"; $mail_body .= "Email Address: ". $email ."\r\n"; $mail_body .= "Company name: ". $companyName ."\r\n"; $mail_body .= "Your Website: ". $website ."\r\n"; $mail_body .= "How hear about us: ". $hearAboutUs ."\r\n"; $mail_body .= "Federal/Tax ID #: ". $tax ."\r\n"; $mail_body .= "Professional Affiliations: ". $proaff ."\r\n"; $mail_body .= "Business Description: ". $bizdes ."\r\n"; $mail_body .= "Comments: ". $comments ."\r\n"; $mail_body .= "-- 0 --"; $subject = "Louie Lighting - Trade Registration Request"; //subject $name = 'Trade Registration Request'; //senders name $email = 'no-reply@forms.louielighting.com'; //senders e-mail adress //$recipient = "arie@louielighting.com, info@louielighting.com"; //recipient $recipient = "niraj@oscprofessionals.com, arielouie@gmail.com, info@louielighting.com"; //recipient $header = "From: ". $name ." <" . $email . ">\r\n"; //optional headerfields // ************End Configure**************** if (@mail($recipient, $subject, $mail_body, $header)) { $_SESSION['actions'] = "Thank you for applying to our trade professionals program, we are reviewing your application and will reply soon (normally within 24 business hours)."; } else { // This echo's the error message if the email did not send. // You could change the text in between the

tags. echo('

Mail could not be sent. Please use your back button to try again.

'); } } ?>


Louie Lighting - Trade Registration Request

Benefits of creating an account:

  • Save Time - Store shipping and billing information to faster checkout
  • Save Money - Create and manage wish lists & projects, get email offers
  • Stay Informed - Manage your online profile, track review order history and more...

* First Name
* Last Name
* Country
* Address
* City
* State/Province
* Zipcode
Phone
* Email address

* Company name
Your Website
How did you hear about us?
* Federal/Tax ID #
Professional affiliations
* Business description
Comments