EmailServiceInterface
interface EmailServiceInterface
Interface to be called for DI for Email Main related services
Methods
create(array $emailData)
Creates email object
array
getEmails()
Gets the emails
mixed
getParameter(string $parameter)
Returns the value of parameter
persist(bool $saveDatabase)
Persists Email in DB
bool
send(array $emailData, bool $saveDatabase = false)
Creates and sends the email
bool
validate(array $emailData)
Validates email addresses and creates message
Details
at line 22
create(array $emailData)
Creates email object
at line 28
array
getEmails()
Gets the emails
at line 35
mixed
getParameter(string $parameter)
Returns the value of parameter
at line 40
persist(bool $saveDatabase)
Persists Email in DB
at line 46
bool
send(array $emailData, bool $saveDatabase = false)
Creates and sends the email
at line 52
bool
validate(array $emailData)
Validates email addresses and creates message