"; $message.=$_POST['exampleInputLName']."
"; $message.=$_POST['exampleInputCName']."
"; $message.=$_POST['exampleInputPhone']."
"; $message.=$_POST['exampleInputEmail']."

"; $message.=$_POST['exampleInputTArea']."
"; /* if(send_mail("Letter forms", $message)){ $statusSuccess = "Message sent!"; }else{ $statusError = "Message not sent!"; }*/ $mail = new PHPMailer; $mail->isSMTP(); /*$mail->Host = 'smtp.mandrillapp.com'; $mail->SMTPAuth = true; $mail->Username = 'info@printerassistant.com'; $mail->Password = '0ICyb8CeRO9LHmlr9mAmxw'; $mail->SMTPSecure = 'ssl'; $mail->Port = 587; */ $mail->setFrom('orders@njprinting.com', 'njprinting'); $mail->addAddress('orders@njprinting.com', ''); $mail->isHTML(true); $mail->Subject = 'ALERT: email received from NPS'; $mail->Body = $message; $mail->AltBody = $message; if(!$mail->send()) { $statusError = "Message not sent!
"; $statusError .= $mail->ErrorInfo; } else { $statusSuccess = "Message sent!"; } }else{ $statusError = "Message not sent!"; unset($_SESSION['captcha_keystring']); } }else{ $statusError = "Message not sent! Error: captcha."; unset($_SESSION['captcha_keystring']); } } function send_mail($thema, $html, $name, $path){ if ($path) { $fp = fopen($path,"rb"); $file = fread($fp, filesize($path)); fclose($fp); } $EOL = "\r\n"; $boundary = "--".md5(uniqid(time())); $headers = "MIME-Version: 1.0;$EOL"; $headers .= "Content-Type: multipart/mixed; boundary=\"$boundary\"$EOL"; $headers .= "From: \n"; // orders@njprinting.com $multipart = "--$boundary$EOL"; $multipart .= "Content-Type: text/html; charset=utf-8"; $multipart .= "Content-Transfer-Encoding: base64$EOL"; $multipart .= $EOL; $multipart .= $html; $multipart .= "$EOL--$boundary--$EOL"; if(!mail("orders@njprinting.com", $thema, $multipart, $headers)){ // orders@njprinting.com return False; }else{ return True; } } ?> Contact US
Home > Contact Us

map

Please don't hesitate to contact us with any questions. We are open Monday through Friday, 8:30 am to 5:00 pm.
THE NEW PRINT SHOP, INC.
558 Central Avenue New Providence, NJ 07974
609.392.0782
609.392.7766