<?
$msg .= "PERSONAL INFO: \n\n";
$msg .= "Name: $_POST[name] \n";
$msg .= "Company: $_POST[company] \n";
$msg .= "Phone: $_POST[phone] \n";
$msg .= "Email: $_POST[email] \n";
$msg .= "Hardware: $_POST[hardware] \n";
$msg .= "Software: $_POST[software] \n";
$msg .= "OS: $_POST[os] \n";
$msg .= "CPU: $_POST[cpu] \n";
$msg .= "RAM: $_POST[ram] \n\n";
$msg .= "Ticket: $_POST[ticket] \n";
$msg .= "Issue: $_POST[message] \n";
$mailheaders = 'From: <'.$_POST['email'].'>' . "\r\n";
$mailheaders .= "Reply-To: $_POST[email] \n";
$to = "support@smartdesigns.com"
$subject = "Tech Support";
mail($to, $subject, $msg, $mailheaders);
?>
Main Topics
Browse All Topics





by: matasgarPosted on 2009-08-26 at 11:16:30ID: 25190577
Can you write down the php code (I suppose php beacause I have seen it in a form of your site) used to generate the e-mail?