Links in HTML mail sent via Seam mail don't work in Microsoft Outlook. Email is 
rendered in Outlook with link, but when link is clicked Outlook opens Windows 
File Open dialog box asking for executable to run the link. Links work in 
hotmail.


Probably due to missin META Tags in HTML Header? I tried putting META tag in 
HTML header, but META tags get removed... see below.



  | mail-message.xhtml
  | ------------------
  | <ui:composition xmlns="http://www.w3.org/1999/xhtml";
  |                 xmlns:ui="http://java.sun.com/jsf/facelets";
  |                 xmlns:h="http://java.sun.com/jsf/html";
  |                 xmlns:f="http://java.sun.com/jsf/core";
  |                 xmlns:s="http://jboss.com/products/seam/taglib";
  |                 xmlns:m="http://jboss.com/products/seam/mail";
  |                 importance="normal"> 
  | 
  |         <m:message>
  |             <m:from name="xyz" address="[EMAIL PROTECTED]" />
  |                     <m:to name="#{abc.abc}">#{abc.abc}</m:to>
  |                     <m:subject>Subject</m:subject>
  |                     <m:body>
  |                         <html>
  |                             <body>
  |                                 <h:outputText>
  |                                             <p>Mail body text.</p>
  |                                             Click <a href="www.tisc.edu.au" 
target="_blank">here</a> to continue...
  |                                             <p>Mail body text.</p>
  |                                 </outputText>
  |                             </body>
  |                         </html>
  |                         <f:facet name="alternative">
  |                             <h:outputText>
  |                                         Sorry, your mail reader doesn't 
support HTML...
  |                             </h:outputText>                
  |                         </f:facet>
  |                     </m:body>
  |          </m:message>
  | 
  | </ui:composition>
  | 
  | 
  | HTML Source of email from Outlook email
  | ---------------------------------------
  | <html>
  |     <body>
  |             <p>Mail body text.</p>
  |              Click <a href="www.tisc.edu.au" target="_blank">here</a> to 
continue...
  |             <p>Mail body text.</p>
  |     </body>
  | </html>
  | 
  | 
  | I tried putting following in mail-message.xhtml in body tag, but somehow 
<META...> tag gets removed during rendering phase...
  | <head>
  |   <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"/>
  | </head> 
  | 
  | 



 


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

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

Reply via email to