Skip navigation links


com.essbase.eas.essbase.server
Class EmailLogic

java.lang.Object
  extended by com.essbase.eas.essbase.server.EmailLogic


public class EmailLogic
extends java.lang.Object

EmailLogic provides methods for sending different types of email messages

Since:
6.5.3
Version:
6.5.4
Author:
Hyperion Solutions

Constructor Summary
EmailLogic()
           

 

Method Summary
 java.util.ArrayList sendFiles(java.lang.String toName, java.lang.String ccName, java.lang.String bccName, java.lang.String subject, java.lang.String msgText, java.lang.String fromName, java.lang.String fromEmail, java.lang.String smtpHost, java.lang.String description, java.io.File[] files)
          SendFiles
 java.util.ArrayList sendStringAsTextFile(java.lang.String toName, java.lang.String ccName, java.lang.String bccName, java.lang.String subject, java.lang.String fromName, java.lang.String fromEmail, java.lang.String smtpHost, java.lang.String msgText, java.lang.String description, java.lang.String fileName, java.lang.String text)
          Send a file which is text/plain
 java.util.ArrayList sendStringAsXmlFile(java.lang.String toName, java.lang.String ccName, java.lang.String bccName, java.lang.String subject, java.lang.String fromName, java.lang.String fromEmail, java.lang.String smtpHost, java.lang.String msgText, java.lang.String description, java.lang.String fileName, java.lang.String xmlDoc)
          Send a string as an XML file attachment.
 java.util.ArrayList sendStringAsZipFile(java.lang.String toName, java.lang.String ccName, java.lang.String bccName, java.lang.String subject, java.lang.String fromName, java.lang.String fromEmail, java.lang.String smtpHost, java.lang.String msgText, java.lang.String description, java.lang.String fileName, java.lang.String text, java.lang.String zipBaseName)
          Send a file which is zipped up

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

EmailLogic

public EmailLogic()

Method Detail

sendStringAsXmlFile

public java.util.ArrayList sendStringAsXmlFile(java.lang.String toName,
                                               java.lang.String ccName,
                                               java.lang.String bccName,
                                               java.lang.String subject,
                                               java.lang.String fromName,
                                               java.lang.String fromEmail,
                                               java.lang.String smtpHost,
                                               java.lang.String msgText,
                                               java.lang.String description,
                                               java.lang.String fileName,
                                               java.lang.String xmlDoc)
Send a string as an XML file attachment. Should be an xml conformant file
Parameters:
toName - the address(es) to send the document to
ccName - the address(es) to CC the document to
bccName - the address(es) to BCC the document to
subject - the subject of the message
fromName - the address of the sender of the document
smtpHost - the smtpHost to use to send the message
description - the description of the document being sent
fileName - the filename to use as the attachment name
xmlDoc - the xml document contents
Returns:
the result in an ArrayList
See Also:
javax.mail.*, javax.mail.internet.*

sendStringAsTextFile

public java.util.ArrayList sendStringAsTextFile(java.lang.String toName,
                                                java.lang.String ccName,
                                                java.lang.String bccName,
                                                java.lang.String subject,
                                                java.lang.String fromName,
                                                java.lang.String fromEmail,
                                                java.lang.String smtpHost,
                                                java.lang.String msgText,
                                                java.lang.String description,
                                                java.lang.String fileName,
                                                java.lang.String text)
Send a file which is text/plain
Parameters:
toName - the address(es) to send the document to
ccName - the address(es) to CC the document to
bccName - the address(es) to BCC the document to
subject - the subject of the message
fromName - the address of the sender of the document
smtpHost - the smtpHost to use to send the message
description - the description of the document being sent
fileName - the filename to use as the attachment name
text - the plain text contents
Returns:
the result in an ArrayList
See Also:
javax.mail.*, javax.mail.internet.*

sendFiles

public java.util.ArrayList sendFiles(java.lang.String toName,
                                     java.lang.String ccName,
                                     java.lang.String bccName,
                                     java.lang.String subject,
                                     java.lang.String msgText,
                                     java.lang.String fromName,
                                     java.lang.String fromEmail,
                                     java.lang.String smtpHost,
                                     java.lang.String description,
                                     java.io.File[] files)
SendFiles
Parameters:
toName - the address(es) to send the document to
ccName - the address(es) to CC the document to
bccName - the address(es) to BCC the document to
subject - the subject of the message
fromName - the address of the sender of the document
smtpHost - the smtpHost to use to send the message
description - the description of the document being sent
files - array of java.io.File objects

sendStringAsZipFile

public java.util.ArrayList sendStringAsZipFile(java.lang.String toName,
                                               java.lang.String ccName,
                                               java.lang.String bccName,
                                               java.lang.String subject,
                                               java.lang.String fromName,
                                               java.lang.String fromEmail,
                                               java.lang.String smtpHost,
                                               java.lang.String msgText,
                                               java.lang.String description,
                                               java.lang.String fileName,
                                               java.lang.String text,
                                               java.lang.String zipBaseName)
Send a file which is zipped up
Parameters:
toName - the address(es) to send the document to
ccName - the address(es) to CC the document to
bccName - the address(es) to BCC the document to
subject - the subject of the message
fromName - the address of the sender of the document
smtpHost - the smtpHost to use to send the message
description - the description of the document being sent
fileName - the filename to use as the attachment name
text - the plain text contents
Returns:
the result in an ArrayList
See Also:
javax.mail.*, javax.mail.internet.*

Skip navigation links


Copyright © 2001, 2012, Oracle. All rights reserved.