<%@page contentType="text/html; charset=iso-8859-1" language="java" session="false"%> <%@ include file="/mhwEmail.jsp" %> <% boolean showForm = true; String errorMsg = ""; String targetCompany = "DXL Enterprises, Inc."; if(request.getParameter("site")!=null&&request.getParameter("site").equals("sbs")){ showForm = false; targetCompany = "Single Board Systems"; String body = "SBS Website Message\n\n"; String name = request.getParameter("name"); if((name==null)||(name.equals(""))) name=" "; body += "\nName : " + name; String company = request.getParameter("company"); if((company==null)||(company.equals(""))) company=" "; body += "\nCompany: " + company; String phone = request.getParameter("phone"); if((phone==null)||(phone.equals(""))) phone=" "; body += "\nPhone : " + phone; String email = request.getParameter("email"); if((email==null)||(email.equals(""))) email=" "; body += "\nEMail : " + email; String message = request.getParameter("message"); if((message==null)||(message.equals(""))) message=" "; body += "\n\nCUSTOMER MESSAGE\n----------------"; body += "\n" + message; errorMsg = sendMHWemail("ralphn@dxl.com", email, "SBS Website Request", body); if(errorMsg==null) errorMsg=""; }else{ String requestType = request.getParameter("formok"); if(requestType!=null&&requestType.equals("true")) showForm = false; if(!showForm){ String name = request.getParameter("name"); if((name==null)||(name.equals(""))) name=" "; String company = request.getParameter("company"); if((company==null)||(company.equals(""))) company=" "; String email = request.getParameter("email"); if((email==null)||(email.equals(""))) email=" "; String address1 = request.getParameter("address1"); if((address1==null)||(address1.equals(""))) address1=" "; String address2 = request.getParameter("address2"); if((address2==null)||(address2.equals(""))) address2=" "; String city = request.getParameter("city"); if((city==null)||(city.equals(""))) city=" "; String state = request.getParameter("state"); if((state==null)||(state.equals(""))) state=" "; String zip = request.getParameter("zip"); if((zip==null)||(zip.equals(""))) zip=" "; String country = request.getParameter("country"); if((country==null)||(country.equals(""))) country=" "; String phone = request.getParameter("phone"); if((phone==null)||(phone.equals(""))) phone=" "; String fax = request.getParameter("fax"); if((fax==null)||(fax.equals(""))) fax=" "; String division = request.getParameter("division"); if((division==null)||(division.equals(""))) division=" "; String subject = request.getParameter("subject"); if((subject==null)||(subject.equals(""))) subject=""; String message = request.getParameter("message"); if((message==null)||(message.equals(""))) message=" "; String emailTo = "ralphn@dxl.com"; if(division.equals("supply")){ emailTo = "axelm@dxl.com"; subject = "Website Request(Supply Chain): "+subject; }else if(division.equals("computer")){ emailTo = "ralphn@dxl.com"; subject = "Website Request(Computing): "+subject; }else if(division.equals("materials")){ emailTo = "ulig@dxl.com"; subject = "Website Request(Materials): "+subject; }else{ emailTo = "ralphn@dxl.com"; subject = "Website Request(General): "+subject; } String body = ""; body += "Name : " + name; body+="\nEMail : " + email; body+="\nCompany: " + company; body+="\nAddress: " + address1; body+="\n " + address2; body+="\nCity : " + city; body+="\nState : " + state; body+="\nZip : " + zip; body+="\nCountry: " + country; body+="\nPhone : " + phone; body+="\nFax : " + fax; body+="\n"; body+="\nCUSTOMER MESSAGE"; body+="\n----------------"; body+="\n" + message; errorMsg = sendMHWemail(emailTo, email, subject, body); if(errorMsg==null) errorMsg=""; } } %> DXL Contact Form

Contact DXL Online

Follow the steps below to request information or additional details direct online.

<% if(showForm){ %>

Contact Form

1.

Contact Info

required

  • Name :
  • Company :
  • Email :

Please fill out these required fields so that we may be able to respond to your request.

At DXL Enterprises, we are eager to work with you to help solve your problems and meet your needs.

2.

Company Info

optional

  • Address :
  • :
  • City :
  • State :
  • Postal Code :
  • Country :
  • Phone :
  • Fax :

Please fill out these optional form fields to provide us with additional information about your company.

If you would prefer to be contacted via phone or fax, please indicate so in your message.

3.

Request

compose message

  • Area of Inquiry
  • Subject (optional)
  • Message
Send Message Now!
<% }else{ %>

Contact Results

<% if(errorMsg.equals("")){ %>

Thank you for your interest in <%=targetCompany%>

Your message has been successfully sent to the appropriate person.

We will respond to your request as quickly as possible.

<% }else{ %>

We apologize. Your message was NOT sent.

An error was encountered while trying to send this message.

Error: <%=errorMsg%>

You can try to resend the message or contact us directly.

<% } %>
<% } %>