I wonder why my emails look like this:

------=_Part_8_21777063.1180128429593 Content-Type: multipart/alternative; 
boundary="----=_Part_9_28910288.1180128429609" 
------=_Part_9_28910288.1180128429609 Content-Type: text/plain; 
charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 
Content-Disposition: inline ------=_Part_9_28910288.1180128429609 Content-Type: 
text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 
Content-Disposition: inline 

Name:sus

Email:[EMAIL PROTECTED]

Message:test

------=_Part_9_28910288.1180128429609-- ------=_Part_8_21777063.1180128429593-- 


-----
Why does this Part_X get printed out in the email? Is there some configuration 
that i have missed?

This is what my code looks like:


  | <?xml version="1.0" encoding="ISO-8859-1" ?>
  |     
  | <m:message xmlns="http://www.w3.org/1999/xhtml";
  |     xmlns:m="http://jboss.com/products/seam/mail";
  |     xmlns:h="http://java.sun.com/jsf/html";
  |     xmlns:f="http://java.sun.com/jsf/core";>
  |    
  |     <m:header name="Content-Transfer-Encoding" value="8bit"/>
  |     <m:header name="Content-Type" value="text/html; charset=iso-8859-1;" /> 
  |     <m:header name="Content-Disposition" value="inline" />
  |          
  |     <m:from name="Webmaster X.se" address="[EMAIL PROTECTED]" />
  |     <m:to name="X" address="[EMAIL PROTECTED]" />
  |     <m:subject>Contakt: <h:outputText value="#{contact.subject}"/> 
</m:subject>
  |     
  |     <m:body type="html">
  |       
  |       <html>
  |     <p><b>Name:</b> <h:outputText value="#{contact.visitorName}"/></p>
  |     <p><b>Email:</b> <h:outputText value="#{contact.email}"/></p>
  |     <p><b>Message:</b> <h:outputText value="#{contact.message}"/></p>
  |       </html>
  |       <f:facet name="alternative">Sorry your emailprogram does not support 
HTML.</f:facet> 
  |     </m:body>
  |     
  | </m:message>
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4056773#4056773

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4056773
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to