SendEmailCommand extends Command
Command for sending spooled messages.
Inspired and partially taken from symfony's swiftmailer package, adapted for Symfony/Mailer.
Tags
Attributes
- #[AsCommand]
- 'mailer:spool:send'
- 'Sends emails from the spool.'
- ['swiftmailer:spool:send']
Table of Contents
Methods
- configure() : mixed
- Defines the allowed options for this command
- execute() : int
- Executes the mailer command
- getMailer() : MailerInterface
- Returns the TYPO3 mailer.
Methods
configure()
Defines the allowed options for this command
protected
configure() : mixed
execute()
Executes the mailer command
protected
execute(InputInterface $input, OutputInterface $output) : int
Parameters
- $input : InputInterface
- $output : OutputInterface
Return values
intgetMailer()
Returns the TYPO3 mailer.
protected
getMailer() : MailerInterface