[jboss-user] [JBoss Seam] - seam email unwanted text in email

susnet do-not-reply at jboss.com
Fri Jun 22 05:00:19 EDT 2007


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:s at s.se

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="webmaster at X.se" />
  |     <m:to name="X" address="X at X.se" />
  |     <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



More information about the jboss-user mailing list