Classes/Controller/AddressController.php
public function informationAction($email, $uid)
    {
        $address = $this->addressRepository->findOneByEmailIgnoreHidden($email);

        if ($address && $address->getUid() == $uid) {
            $data = [
                'address' => $address,
                'hash' => $address->getRegisteraddresshash()
            ];

            if ($address->getHidden()) {
                // if e-mail still unapproved, send complete registration mail again
                $mailTemplate = 'Address/MailNewsletterRegistration';
            } else {
                // if e-mail already approved, just send information mail to edit or delete
                $mailTemplate = 'Address/MailNewsletterInformation';
            }
            $this->sendResponseMail(
                $address->getEmail(),
                $mailTemplate,
                $data,
                $this->settings['mailformat'],
                LocalizationUtility::translate('mail.info.subjectsuffix', 'registeraddress')
            );

            $this->view->assign('address', $address);
        }
    }
public function informationAction($email, $uid)
    {
        $address = $this->addressRepository->findOneByEmailIgnoreHidden($email);

        if ($address && $address->getUid() == $uid) {
            $data = [
                'address' => $address,
                'hash' => $address->getRegisteraddresshash()
            ];

            if ($address->getHidden()) {
                // if e-mail still unapproved, send complete registration mail again
                $mailTemplate = 'Address/MailNewsletterRegistration';
            } else {
                // if e-mail already approved, just send information mail to edit or delete
                $mailTemplate = 'Address/MailNewsletterInformation';
            }
            $this->sendResponseMail(
                $address->getEmail(),
                $mailTemplate,
                $data,
                $this->settings['mailformat'],
                LocalizationUtility::translate('mail.info.subjectsuffix', 'registeraddress')
            );

            $this->view->assign('address', $address);
        }
    }
public function informationAction ( $ email , $ uid ) { $ address = $ this -> addressRepository -> findOneByEmailIgnoreHidden ( $ email ) ; if ( $ address && $ address -> getUid ( ) == $ uid ) { $ data = [ 'address' => $ address , 'hash' => $ address -> getRegisteraddresshash ( ) ] ; if ( $ address -> getHidden ( ) ) { // if e-mail still unapproved, send complete registration mail again $ mailTemplate = 'Address/MailNewsletterRegistration' ; } else { // if e-mail already approved, just send information mail to edit or delete $ mailTemplate = 'Address/MailNewsletterInformation' ; } $ this -> sendResponseMail ( $ address -> getEmail ( ) , $ mailTemplate , $ data , $ this -> settings [ 'mailformat' ] , LocalizationUtility :: translate ( 'mail.info.subjectsuffix' , 'registeraddress' ) ) ; $ this -> view -> assign ( 'address' , $ address ) ; } }
action inormation mail anforderung

@param \string $email
@param integer $uid
@return void
@throws \InvalidArgumentException
@throws \TYPO3\CMS\Extbase\Mvc\Exception\InvalidExtensionNameException
action inormation mail anforderung