info.magnolia.cms.taglibs.util
Class SimpleMailTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by info.magnolia.cms.taglibs.util.SimpleMailTag
All Implemented Interfaces:
Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

Deprecated. since 4.0

public class SimpleMailTag
extends javax.servlet.jsp.tagext.TagSupport

Sends a simple mail generated with all the fields found in nodeCollectionName.

Version:
$Revision: 41137 $ ($Author: gjoseph $)
Author:
Fabrizio Giustina
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
SimpleMailTag()
          Deprecated.  
 
Method Summary
 int doEndTag()
          Deprecated.  
protected  String excelCSVFormat(String str)
          Deprecated.  
 String getLoggingDirectory()
          Deprecated.  
 String getLoggingEncoding()
          Deprecated.  
 String getLoggingExtension()
          Deprecated.  
 String getLoggingFilename()
          Deprecated.  
 boolean isLogging()
          Deprecated.  
 void release()
          Deprecated.  
 void setBcc(String bcc)
          Deprecated. Mail "bcc" field.
 void setCc(String cc)
          Deprecated. Mail "cc" field.
 void setFrom(String from)
          Deprecated. Mail "from" field.
 void setLogging(boolean trackMail)
          Deprecated. Log all the information sent by the mail.
 void setLoggingDirectory(String loggingDirectory)
          Deprecated. Where to log to.
 void setLoggingEncoding(String loggingEncoding)
          Deprecated. Encoding of the log file.
 void setLoggingExtension(String loggingExtension)
          Deprecated. The file extension to use for new files.
 void setLoggingFilename(String loggingFilename)
          Deprecated. Name for the file (without extension).
 void setNodeCollectionName(String nodeCollectionName)
          Deprecated. Collection (paragraphs) that holds the configured form fields.
 void setRedirect(String redirect)
          Deprecated. Page to redirect to after a successfull submission.
 void setReplyTo(String replyTo)
          Deprecated. Mail "replyTo" field.
 void setSubject(String subject)
          Deprecated. Mail "subject" field.
 void setTemplate(String template)
          Deprecated. Instead of the mail type you can define a template to use.
 void setTo(String to)
          Deprecated. Mail "to" field.
 void setType(String type)
          Deprecated. Mail type.
protected  void trackMail(javax.servlet.http.HttpServletRequest request, String activePagePath, StringBuffer titles, StringBuffer values)
          Deprecated.  
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doStartTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleMailTag

public SimpleMailTag()
Deprecated. 
Method Detail

setBcc

public void setBcc(String bcc)
Deprecated. 
Mail "bcc" field.


setReplyTo

public void setReplyTo(String replyTo)
Deprecated. 
Mail "replyTo" field.


setCc

public void setCc(String cc)
Deprecated. 
Mail "cc" field.


setFrom

public void setFrom(String from)
Deprecated. 
Mail "from" field.


setNodeCollectionName

public void setNodeCollectionName(String nodeCollectionName)
Deprecated. 
Collection (paragraphs) that holds the configured form fields. If not set the current collection is used.


setTo

public void setTo(String to)
Deprecated. 
Mail "to" field.


setSubject

public void setSubject(String subject)
Deprecated. 
Mail "subject" field.


setRedirect

public void setRedirect(String redirect)
Deprecated. 
Page to redirect to after a successfull submission.


setType

public void setType(String type)
Deprecated. 
Mail type. Used to get the mail from the factory.


setLogging

public void setLogging(boolean trackMail)
Deprecated. 
Log all the information sent by the mail.


setTemplate

public void setTemplate(String template)
Deprecated. 
Instead of the mail type you can define a template to use. This template must be registered in the mail module.


doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Deprecated. 
Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class javax.servlet.jsp.tagext.TagSupport
Throws:
javax.servlet.jsp.JspException
See Also:
TagSupport.doEndTag()

excelCSVFormat

protected String excelCSVFormat(String str)
Deprecated. 

trackMail

protected void trackMail(javax.servlet.http.HttpServletRequest request,
                         String activePagePath,
                         StringBuffer titles,
                         StringBuffer values)
Deprecated. 

release

public void release()
Deprecated. 
Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class javax.servlet.jsp.tagext.TagSupport
See Also:
TagSupport.release()

getLoggingDirectory

public String getLoggingDirectory()
Deprecated. 

setLoggingDirectory

public void setLoggingDirectory(String loggingDirectory)
Deprecated. 
Where to log to. For each page the log is created separately on a weekly basis.


getLoggingEncoding

public String getLoggingEncoding()
Deprecated. 

setLoggingEncoding

public void setLoggingEncoding(String loggingEncoding)
Deprecated. 
Encoding of the log file. Default is UTF8. For windows excel use ISO-8859-1.


isLogging

public boolean isLogging()
Deprecated. 

setLoggingExtension

public void setLoggingExtension(String loggingExtension)
Deprecated. 
The file extension to use for new files. Default is log. Use csv for easy opening with Excel.


getLoggingExtension

public String getLoggingExtension()
Deprecated. 

setLoggingFilename

public void setLoggingFilename(String loggingFilename)
Deprecated. 
Name for the file (without extension). If not set, the pages path is used to create a file.


getLoggingFilename

public String getLoggingFilename()
Deprecated. 


Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.