com.mf.kennewick.mail
Class SoloMailer
java.lang.Object
com.mf.kennewick.mail.SoloMailer
- public class SoloMailer
- extends java.lang.Object
Method Summary |
static SoloMailer |
getInstance()
|
long |
getRetryInterval()
|
boolean |
sendMessage(java.lang.String from,
java.lang.String[] arrRecipients,
java.lang.String subject,
java.lang.String text)
|
boolean |
sendMessage(java.lang.String from,
java.lang.String[] arrRecipients,
java.lang.String subject,
java.lang.String text,
java.util.Collection attachments)
|
void |
setRetryInterval(long l)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static SoloMailer getInstance()
sendMessage
public boolean sendMessage(java.lang.String from,
java.lang.String[] arrRecipients,
java.lang.String subject,
java.lang.String text,
java.util.Collection attachments)
throws java.lang.Exception
- Throws:
java.lang.Exception
sendMessage
public boolean sendMessage(java.lang.String from,
java.lang.String[] arrRecipients,
java.lang.String subject,
java.lang.String text)
throws java.lang.Exception
- Throws:
java.lang.Exception
getRetryInterval
public long getRetryInterval()
- Returns:
setRetryInterval
public void setRetryInterval(long l)
- Parameters:
l
-
Copyright © 2004 Media Fortress, LLC, LLC. Licensed for commercial use under the Apache 2.0 License.