MatrixBerryCore
Public Member Functions | Private Attributes | List of all members
mxberry::log::EmailLogger Class Reference
Inheritance diagram for mxberry::log::EmailLogger:
Inheritance graph
[legend]
Collaboration diagram for mxberry::log::EmailLogger:
Collaboration graph
[legend]

Public Member Functions

function EmailLogger (in varargin)
 
function sendMessage (in self, in subjectMessage, in varargin)
 
function getFromEmailAddress (in self)
 
function getSMTPServer (in self)
 
function getSubjectSuffix (in self)
 
function setSubjectSuffix (in self, in suffixStr)
 
function addSubjectSuffix (in self, in suffixStr, in isAddedToEnd)
 
function sendmail (in self, in to, in subject, in message, in attachments)
 
function getServerAndFrom (in self)
 getServerAndFrom Look in several places for default values. More...
 
function getInternetAddress (in from)
 getInternetAddress Instantiate an InternetAddress object. More...
 
function getRecipientTypeTo (in msg)
 getRecipientTypeTo Return the static RecipientType.TO. More...
 
function locateFile (in file)
 LOCATEFILE Resolve a filename to an absolute location. LOCATEFILE(FILE) returns the absolute path to FILE. If FILE cannot be found, it returns an empty string. More...
 
function formatText (in msgText)
 formatText Format a block of text, adding line breaks every chars. More...
 
function stripJavaError (in err)
 stripJavaError Attempt to convert a stack trace into something prettier. More...
 

Private Attributes

Property emailDistributionList
 
Property emailAttachmentNameList
 
Property emailAttachmentZippedNameList
 
Property userName
 
Property hostName
 
Property subjectSuffix
 
Property loggerName
 
Property isDryRun
 
Property isThrowExceptions
 
Property smtpUserName
 
Property smtpPassword
 
Property fromEmailAddress
 
Property smtpServer
 

Detailed Description

Author
Peter Gagarinov, PhD pgaga.nosp@m.rino.nosp@m.v@gma.nosp@m.il.c.nosp@m.om

Definition at line 7 of file EmailLogger.m.

Constructor & Destructor Documentation

◆ EmailLogger()

function mxberry::log::EmailLogger::EmailLogger ( in  varargin)

Member Function Documentation

◆ addSubjectSuffix()

function mxberry::log::EmailLogger::addSubjectSuffix ( in  self,
in  suffixStr,
in  isAddedToEnd 
)

◆ formatText()

function mxberry::log::EmailLogger::formatText ( in  msgText)

formatText Format a block of text, adding line breaks every chars.

◆ getFromEmailAddress()

function mxberry::log::EmailLogger::getFromEmailAddress ( in  self)

◆ getInternetAddress()

function mxberry::log::EmailLogger::getInternetAddress ( in  from)

getInternetAddress Instantiate an InternetAddress object.

◆ getRecipientTypeTo()

function mxberry::log::EmailLogger::getRecipientTypeTo ( in  msg)

getRecipientTypeTo Return the static RecipientType.TO.

◆ getServerAndFrom()

function mxberry::log::EmailLogger::getServerAndFrom ( in  self)

getServerAndFrom Look in several places for default values.

◆ getSMTPServer()

function mxberry::log::EmailLogger::getSMTPServer ( in  self)

◆ getSubjectSuffix()

function mxberry::log::EmailLogger::getSubjectSuffix ( in  self)

◆ locateFile()

function mxberry::log::EmailLogger::locateFile ( in  file)

LOCATEFILE Resolve a filename to an absolute location. LOCATEFILE(FILE) returns the absolute path to FILE. If FILE cannot be found, it returns an empty string.

◆ sendmail()

function mxberry::log::EmailLogger::sendmail ( in  self,
in  to,
in  subject,
in  message,
in  attachments 
)
Author
Peter Gagarinov, PhD pgaga.nosp@m.rino.nosp@m.v@gma.nosp@m.il.c.nosp@m.om

◆ sendMessage()

function mxberry::log::EmailLogger::sendMessage ( in  self,
in  subjectMessage,
in  varargin 
)

◆ setSubjectSuffix()

function mxberry::log::EmailLogger::setSubjectSuffix ( in  self,
in  suffixStr 
)

◆ stripJavaError()

function mxberry::log::EmailLogger::stripJavaError ( in  err)

stripJavaError Attempt to convert a stack trace into something prettier.

Member Data Documentation

◆ emailAttachmentNameList

Property mxberry::log::EmailLogger::emailAttachmentNameList
private

Definition at line 14 of file EmailLogger.m.

◆ emailAttachmentZippedNameList

Property mxberry::log::EmailLogger::emailAttachmentZippedNameList
private

Definition at line 16 of file EmailLogger.m.

◆ emailDistributionList

Property mxberry::log::EmailLogger::emailDistributionList
private

Definition at line 12 of file EmailLogger.m.

◆ fromEmailAddress

Property mxberry::log::EmailLogger::fromEmailAddress
private

Definition at line 35 of file EmailLogger.m.

◆ hostName

Property mxberry::log::EmailLogger::hostName
private

Definition at line 20 of file EmailLogger.m.

◆ isDryRun

Property mxberry::log::EmailLogger::isDryRun
private

Definition at line 26 of file EmailLogger.m.

◆ isThrowExceptions

Property mxberry::log::EmailLogger::isThrowExceptions
private

Definition at line 28 of file EmailLogger.m.

◆ loggerName

Property mxberry::log::EmailLogger::loggerName
private

Definition at line 24 of file EmailLogger.m.

◆ smtpPassword

Property mxberry::log::EmailLogger::smtpPassword
private

Definition at line 33 of file EmailLogger.m.

◆ smtpServer

Property mxberry::log::EmailLogger::smtpServer
private

Definition at line 37 of file EmailLogger.m.

◆ smtpUserName

Property mxberry::log::EmailLogger::smtpUserName
private

Definition at line 31 of file EmailLogger.m.

◆ subjectSuffix

Property mxberry::log::EmailLogger::subjectSuffix
private

Definition at line 22 of file EmailLogger.m.

◆ userName

Property mxberry::log::EmailLogger::userName
private

Definition at line 18 of file EmailLogger.m.


The documentation for this class was generated from the following file: