object
SendEmail extends Logging
Type Members
-
class
cdebug extends AnyRef
-
class
clog extends AnyRef
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
val
CMD_RESEND: String
-
val
CMD_RESTARTED: String
-
val
CMD_SEND10: String
-
val
CMD_STOPEMAILS: String
-
val
CMD_TICK: String
-
val
NO_EMAILS: Boolean
-
var
NO_EMAILS_TESTNG: Boolean
-
val
STATE_BACKEDOFF: String
-
val
STATE_BACKOFF: String
-
val
STATE_MAXED: String
-
val
STATE_OK: String
-
final
def
asInstanceOf[T0]: T0
-
def
audit(message: ⇒ String, e: Throwable): Unit
-
def
audit(message: ⇒ String): Unit
-
-
def
clog: clog
-
def
clone(): AnyRef
-
var
curCount: Int
-
def
debug(message: ⇒ String, e: Throwable): Unit
-
def
debug(message: ⇒ String): Unit
-
lazy val
emailSender: ActorRef
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
error(message: ⇒ String, e: Throwable): Unit
-
def
error(message: ⇒ String): Unit
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
getNodeId: String
-
def
hashCode(): Int
-
def
info(message: ⇒ String, e: Throwable): Unit
-
def
info(message: ⇒ String): Unit
-
def
init: ActorPath
-
final
def
isInstanceOf[T0]: Boolean
-
def
log(message: ⇒ String, e: Throwable): Unit
-
def
log(message: ⇒ String): Unit
-
val
logger: Log
-
var
mkSession: (BaseMailSession, Boolean, Boolean) ⇒ Session
-
final
def
ne(arg0: AnyRef): Boolean
-
def
newlog(s: String): Log
-
def
newlog(clazz: Class[_]): Log
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
setState(news: String): Unit
-
def
slf4j: Logger
-
var
state: String
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
tee(message: ⇒ String): String
-
def
toString(): String
-
def
trace(message: ⇒ String, e: Throwable): Unit
-
def
trace(message: ⇒ String): Unit
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
warn(message: ⇒ String, e: Throwable): Unit
-
def
warn(message: ⇒ String): Unit
-
def
withSession[C](realm: String = "rk")(body: (MailSession) ⇒ C): C
Inherited from AnyRef
Inherited from Any
the email sender - saves emails in DB and sends them asynchronously with an actor, retrying in certain cases
turns out that sending email is not the easiest thing to do
will recover on restart, can be restarted etc
todo move into a connectors subsystem