Public Member Functions | |
MailAndSmsServerImpl () | |
void | sendEmail (String address, String subject, String text) |
void | sendSMS (String number, String text) |
Private Member Functions | |
void | send (String address, String subject, String text) throws AddressException, MessagingException |
String | buildSMSAddress (String number) |
Private Attributes | |
Session | session |
Static Private Attributes | |
final String | CERN_SMTP_HOST = "smtp.cern.ch" |
final String | FROM_LASER = "laser@cern.ch" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|