Uses of Class
org.ploin.pmf.MailFactoryException

Packages that use MailFactoryException
org.ploin.pmf In this package contains the interfaces. 
org.ploin.pmf.impl This package contains the interface implementations. 
 

Uses of MailFactoryException in org.ploin.pmf
 

Methods in org.ploin.pmf that throw MailFactoryException
 String IMailReader.getHtmlMail(TemplateConfig templateConfig)
          This method returns the html-mail-template to the mailName as String.
 String IMailFactory.getHtmlMessage(TemplateConfig templateConfig)
          This method tries to find a HTML template file with the given name in the templateConfig, fills it with the values from the map and returns the filled template.
 ServerConfig ISecondThreadSending.getLoadbalancedNode()
           
 String IMailReader.getPlainMail(TemplateConfig templateConfig)
          This method returns the plain-mail template as String for a given mailName.
 String IMailFactory.getPlainMessage(TemplateConfig templateConfig)
          This method tries to find a plain-text template file with the given name in the templateConfig, fills it with the values from the map and returns the filled template.
 Properties IPropertiesLoader.getProperties(String client, String propName)
          This method looks for a properties file with the given name "propName".
It looks for a properties file in the following directories in this order: client directory mail directory class-root
 Properties IPropertiesLoader.getPropertiesOnlyClient(String client, String propertyFilename)
          This method looks for a properties file with the given name "propertyFilename".
It looks for the file only in the client-directory.
 Properties IPropertiesLoader.getPropertiesOnlyDirectory(String propertyFilename)
          This method looks for a properties file with the given name "propertyFilename".
It looks for the file only in the mail-directory.
 Properties IPropertiesLoader.getPropertiesOnlyRoot(String propertyFilename)
          This method looks for a properties file with the given name "propertyFilename".
It looks for the file only in the root-directory (class-root).
 ServerConfig ISecondThreadSending.getServerConfig(String client, String selectedNode)
           
 String IPropertiesLoader.getValue(String key)
          Returns a message with the key "key" from the property file "propFile".
 String IPropertiesLoader.getValue(String client, String key)
          Returns a message with the key "key" from the property file.
 void IMailFactory.init()
          Initialize the mail Factory
 String IMailReplacer.replace(String mail, Map<String,String> replaceMap)
          This method replaces all string-snippets which are matching the keys of the replaceMap with the values of the replaceMap.
 void IPropertiesLoader.replaceVariables(String client, MailConfig mailConfig)
          This method replaces all variables with keys like "${variable}" in the email-addresses of the receivers (to, cc, bcc) with values found in the mail.properties having the key "variable".
 void IPropertiesLoader.replaceVariables(TemplateConfig templateConfig)
          This method replaces all variables with keys like "${variable}" in the map of the templateConfig with values found in the mail.properties having the key "variable".
 SendingResult ISecondThreadSending.send()
           
 SendingResult IMailFactory.sendMail(MailConfig mailConfig, TemplateConfig templateConfig)
          This is the main method.
 SendingResult IMailSender.sendMail(String plain, String html, MailConfig mailConfig, ServerConfig serverConfig, Map<String,String> map)
          This method sends the mail.
 SendingResult IMailFactory.sendMailWithContent(MailConfig mailConfig, TemplateConfig templateConfig, String plainReplaced, String htmlReplaced)
          This method sends an e-mail with the given plainReplaced content and htmlReplaced content.
 

Uses of MailFactoryException in org.ploin.pmf.impl
 

Methods in org.ploin.pmf.impl that throw MailFactoryException
 String MailReader.getHtmlMail(TemplateConfig templateConfig)
           
 String MailFactory.getHtmlMessage(TemplateConfig templateConfig)
           
 ServerConfig SecondThreadSending.getLoadbalancedNode()
           
 String MailReader.getPlainMail(TemplateConfig templateConfig)
           
 String MailFactory.getPlainMessage(TemplateConfig templateConfig)
           
 Properties PropertiesLoader.getProperties(String client, String name)
           
 Properties PropertiesLoader.getPropertiesOnlyClient(String client, String name)
           
 Properties PropertiesLoader.getPropertiesOnlyDirectory(String name)
           
 Properties PropertiesLoader.getPropertiesOnlyRoot(String name)
           
 ServerConfig SecondThreadSending.getServerConfig(String client, String selectedNode)
           
 String PropertiesLoader.getValue(String key)
           
 String PropertiesLoader.getValue(String client, String key)
           
 void MailFactory.init()
           
 String MailReplacer.replace(String templateText, Map<String,String> replaceMap)
          Every occurence of each key in the templateText is replaced by the corresponding value.

There are two "kinds" of keys you can use:
* Keys of the (old) form ":key" will trigger the replacement of all occurences of ":key" in the templateText.
 void PropertiesLoader.replaceVariables(String client, MailConfig mailConfig)
           
 void PropertiesLoader.replaceVariables(TemplateConfig templateConfig)
           
 SendingResult SecondThreadSending.send()
           
 SendingResult MailFactory.sendMail(MailConfig mailConfig, TemplateConfig templateConfig)
           
 SendingResult MailSender.sendMail(String plain, String html, MailConfig mailConfig, ServerConfig serverConfig, Map<String,String> map)
           
 SendingResult MailFactory.sendMailWithContent(MailConfig mailConfig, TemplateConfig templateConfig, String plainReplaced, String htmlReplaced)
           
 



Copyright © 2012 PLOIN GmbH. All Rights Reserved.