Mailer

Methods Summary
public
# __construct( Zend\Mail\Transport\TransportInterface $transport , Zend\View\HelperPluginManager $viewHelpers , Doctrine\ORM\EntityManager $entityManager , array $defaultOptions = array ( ) )
Set the transport and message defaults.

var


var


public
# getTransport( )
Get the transport.
public
# createMessage( array|\Traversable $options = array ( ) )
Return a new message object. Sets default options if not already set.
public
# send( array|\Traversable|\Message $message )
Send a message using the configured transport.
public
# getPasswordCreation( Omeka\Entity\User $user , bool $activate )
Create and return a password creation entity.
public
# getCreatePasswordUrl( Omeka\Entity\PasswordCreation $passwordCreation )
Return an absolute URL to the create password page.
public
# getSiteUrl( )
Return an absolute URL to the main public page.
public
# getExpiration( Omeka\Entity\PasswordCreation $passwordCreation )
Return the expiration date.
public
# getInstallationTitle( )
Return the title of this Omeka S installation.
public
# sendResetPassword( Omeka\Entity\User $user )
Send a reset password email.
public
# sendUserActivation( Omeka\Entity\User $user )
Send a user activation email.
Properties Summary
protected Zend\Mail\Transport\TransportInterface $transport
# NULL
protected Zend\View\HelperPluginManager $viewHelpers
# NULL
protected Doctrine\ORM\EntityManager $entityManager
# NULL
protected array $defaultOptions
# NULL