EmailDeleterInterface

Extends

Interface EmailDeleterInterface

category

System

package

Email

subpackage

Interfaces

Methods

Removes a record from the database.

delete(\EmailInterface $email) 

This method will delete all the email relevant entities from the database. It will not throw an exception if the given record is not found.

Arguments

$email

\EmailInterface

E-Mail.

Removes all emails from the data base that have the given email address as sender or recipient.

deleteEmailsByEmailAddress(\CustomerEmail $email) 

Arguments

$email

\CustomerEmail

E-Mail address.

Removes all emails from the database that have creation date below the give date.

deleteOldEmailsByDate(\DateTime $date) 

Arguments

$date

\DateTime