‪TYPO3CMS  9.5
TYPO3\CMS\Core\Command\SendEmailCommand Class Reference
Inheritance diagram for TYPO3\CMS\Core\Command\SendEmailCommand:

Protected Member Functions

 configure ()
 
int void null execute (InputInterface $input, OutputInterface $output)
 
Mailer getMailer ()
 

Detailed Description

Command for sending spooled messages.

Inspired and partially taken from symfony's swiftmailer package.

https://github.com/symfony/swiftmailer-bundle/blob/master/Command/SendEmailCommand.php

Definition at line 33 of file SendEmailCommand.php.

Member Function Documentation

◆ configure()

TYPO3\CMS\Core\Command\SendEmailCommand::configure ( )
protected

Defines the allowed options for this command

Definition at line 38 of file SendEmailCommand.php.

◆ execute()

int void null TYPO3\CMS\Core\Command\SendEmailCommand::execute ( InputInterface  $input,
OutputInterface  $output 
)
protected

Executes the mailer command

Parameters
InputInterface$input
OutputInterface$output
Returns
‪int|void|null

Definition at line 54 of file SendEmailCommand.php.

References $output, and TYPO3\CMS\Core\Command\SendEmailCommand\getMailer().

◆ getMailer()

Mailer TYPO3\CMS\Core\Command\SendEmailCommand::getMailer ( )
protected

Returns the TYPO3 mailer.

Returns
‪Mailer

Definition at line 87 of file SendEmailCommand.php.

Referenced by TYPO3\CMS\Core\Command\SendEmailCommand\execute().