Class Emailer


  • public class Emailer
    extends Object
    • Constructor Detail

      • Emailer

        public Emailer()
      • Emailer

        public Emailer​(org.pentaho.platform.api.email.IEmailService emailService)
    • Method Detail

      • setTo

        public void setTo​(String to)
      • setCc

        public void setCc​(String cc)
      • setBcc

        public void setBcc​(String bcc)
      • setSubject

        public void setSubject​(String subject)
      • getSubject

        public String getSubject()
      • setFrom

        public void setFrom​(String from)
      • setFromName

        public void setFromName​(String fromName)
      • setUseAuthentication

        public void setUseAuthentication​(boolean useAuthentication)
      • setSmtpHost

        public void setSmtpHost​(String smtpHost)
      • setSmtpPort

        public void setSmtpPort​(int port)
      • setTransportProtocol

        public void setTransportProtocol​(String protocol)
      • setUseSSL

        public void setUseSSL​(boolean useSSL)
      • setStartTLS

        public void setStartTLS​(boolean startTLS)
      • setQuitWait

        public void setQuitWait​(boolean quitWait)
      • setAttachment

        public void setAttachment​(InputStream attachment)
      • setAttachmentName

        public void setAttachmentName​(String attachmentName)
      • getAttachmentName

        public String getAttachmentName()
      • setAttachmentMimeType

        public void setAttachmentMimeType​(String mimeType)
      • getAuthenticator

        public javax.mail.Authenticator getAuthenticator()
      • setAuthenticator

        public void setAuthenticator​(javax.mail.Authenticator authenticator)
      • setBody

        public void setBody​(String body)
      • getEmailFromName

        public String getEmailFromName()
      • getProperties

        public Properties getProperties()
      • getAuthMechanism

        public String getAuthMechanism()
      • setAuthMechanism

        public void setAuthMechanism​(String authMechanism)
      • setup

        public boolean setup()
      • send

        public boolean send()
      • getSmtpSession

        protected javax.mail.Session getSmtpSession​(boolean authenticate)