From = "denise@windowsunlimited.com"; $mail->FromName = "Windows Unlimited"; $contact_emails[] = "denise@windowsunlimited.com"; foreach($contact_emails as $contact_email){ $mail->AddAddress($contact_email); } $mail->WordWrap = 150; // set word wrap to 150 characters $mail->IsHTML(true); // set email format to HTML $subject = "Contact from website"; $mail->Subject = $subject; $mail->Body = '

'.$subject.'

Name: '.$first_name.' '.$last_name.'
Email: '.$email.'
Phone: '.$phone.'

Address
'.$address.' '.$address2.'
'.$city.', '.$state.' '.$zip.'

Product: '.$_REQUEST['product'].'

Reply by: '.$_REQUEST['reply'].'


Subject: '.$_REQUEST['subject'].'
Message: '.nl2br($_REQUEST['comments']).'
'; $mail->AltBody = $subject.' Name: '.$first_name.' '.$last_name.' E-mail: '.$email.' Phone: '.$phone.' Address '.$address.' '.$address2.' '.$city.', '.$state.' '.$zip.' Product: '.$_REQUEST['product'].' Reply by: '.$_REQUEST['reply'].' Subject: '.$_REQUEST['subject'].' Message: '.trim(stripslashes($_REQUEST['comments'])); if(!$mail->Send()){ $message = 'Your information could not be sent. Please try again.'; } else { $message = 'Your information has been sent successfully.'; $success = true; } } } ?> Contact Us at Windows Unlimited