ok ok
not even that is working
listen i dont want to have the email in an html format but just a neat text format with the normal line breaks and carraige returns which doesnt seem to be taking affect in my emails
here is the code im using
<?php
$to_email = '
email@email.com';
$from_email = $_POST['Email'];
$from_name = $_POST['First_Name']." ".$_POST['Last_Name'];
$subject = 'Application for '.$_POST["Form"];
$headers = "MIME-Version: 1.0\r\n ";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
$headers .= "From: ".$from_name." <".$from_email.">";
$body_msg = 'The following information was submitted :- \n \n ';
$body_msg .= 'Domain : '.$_POST['domain'].'\n \n ';
if(($_POST['Form'] == 'Domain Registration') || ($_POST['Form'] == 'Domain Renewal')){
$body_msg .=
'Register for '.$_POST['years'].'\n \n ';
}
if(($_POST['Form'] == 'Hosting') || ($_POST['host'] == true)){
$body_msg .=
$_POST['status'].' Hosting \n \n on an '.$_POST['Package'].' Host Server Package \n \n '.'Server User Name : '.$_POST['User'].'\n \n '.'Server Password : '.$_POST['Pass'].'\n \n '.'with the following specifications :- \n \n '.$_POST['details'].'Payment is due for '.$_POST['Months'].' Month(s) on approval \n \n ';
}
if($_POST['Form'] == 'Search Engine Registration'){
$body_msg .='Register with '.$_POST['Registrant'].' for 1 year \n \n '.'Web Page Title : '.$_POST['Title'].'\n \n '.'Keywords :- \n \n '.$_POST['Keywords'].'\n \n '.'Description :- \n \n '.$_POST['Description'].'\n \n ';
}
$body_msg .= 'Total Amount to be paid : '.$_POST['Amount'].'\n \n '.'Contact Information :- \n \n '.'First Name : '.$_POST['First_Name'].'\n \n '.'Last Name : '.$_POST['Last_Name'].'\n \n '.'Company : '.$_POST['Company'].'\n \n '.'Address : '.$_POST['Address1'].', '.$_POST['Address2'].', '.$_POST['City'].'\n \n '.'Work Phone : '.$_POST['Work_Phone'].'\n \n '.'Home Phone : '.$_POST['Home_Phone'].'\n \n '.'Fax : '.$_POST['Fax'].'\n \n '.'Email : '.$_POST['Email'].'\n \n ';
mail($to_email,$subject,$body_msg,$headers);
?>
here's the results
The following information was submitted :- \n \n Domain : apex.com\n \n Register with SRCHENGINK for 1 year \n \n Web Page Title : The APex\n \n Keywords :- \n \n some. key, words,\n \n Description :- \n \n the description used in this session dont put it anywhere else\n \n Total Amount to be paid : \n \n Contact Information :- \n \n First Name : Kenda\n \n Last Name : Arnead\n \n Company : Apex Solutions\n \n Address : #1 A, Brieves Rd., Maraval\n \n Work Phone : 0000000000\n \n Home Phone : 0000000000\n \n Fax : 8686284677\n \n Email :
kendall@apex-solutions.com\n \n
ok but heres what i want
The following information was submitted :-
Domain : apex.com
Register with SRCHENGINK for 1 year
Web Page Title : The APex
Keywords :-
some. key, words,
Description :-
the description used in this session dont put it anywhere else
Total Amount to be paid :
Contact Information :-
First Name : Kenda
Last Name : Arnead
Company : Apex Sol
Address : #1 A, Brieves Rd., Maraval
Work Phone : 0000000000
Home Phone : 0000000000
Fax : 8686284677
Email :
kendall@email.com
Now this is to simple for me to screw up yet....TAAAADAAAAAAAa i have i am really really trying to see my mistake but what is it im suppose to look for in this instance???
Kendall
