SmtpSender

org.eso.ias.sink.email.SmtpSender
class SmtpSender(val server: String, val loginName: Option[String], val pswd: Option[String]) extends Sender

The sender of notifications by emails.

Value parameters

loginName

the optional login name to pass to the server

pswd

the optional passowrd to pass to the server

server

The SMTP server to send notifications to the receipients

Attributes

Graph
Supertypes
trait Sender
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

override def digestNotify(recipient: String, alarmStates: List[AlarmStateTracker]): Unit

Notify the recipients with the summary of the state changes of the passed alarms

Notify the recipients with the summary of the state changes of the passed alarms

Value parameters

alarmStates

the states of the alarms to notify

recipient

the recipient to notify

Attributes

Definition Classes
override def notify(recipients: List[String], alarmId: String, alarmState: AlarmSnapshot): Unit

Send the notification to notify that an alarm has been set or cleared

Send the notification to notify that an alarm has been set or cleared

Value parameters

alarmId

the ID of the alarm

alarmState

the state to notify

recipients

the recipients to notify

Attributes

Definition Classes

Concrete fields

val loginName: Option[String]
val pswd: Option[String]
val server: String