for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @license LGPLv3, http://opensource.org/licenses/LGPL-3.0
* @copyright Metaways Infosystems GmbH, 2013
* @copyright Aimeos (aimeos.org), 2014
* @package MW
* @subpackage Mail
*/
namespace Aimeos\MW\Mail;
* TYPO3 implementation for creating and sending e-mails.
*
class Typo3 implements \Aimeos\MW\Mail\Iface
{
* Initializes the instance of the class.
* @param \TYPO3\CMS\Core\Mail\MailMessage $object TYPO3 mail object
public function __construct( \TYPO3\CMS\Core\Mail\MailMessage $object )
}
* Creates a new e-mail message object.
* @param string $charset Default charset of the message
* @return \Aimeos\MW\Mail\Message\Iface E-mail message object
public function createMessage( $charset = 'UTF-8' )
return new \Aimeos\MW\Mail\Message\Typo3( \TYPO3\CMS\Core\Mail\MailMessage::newInstance(), $charset );
* Sends the e-mail message to the mail server.
* @param \Aimeos\MW\Mail\Message\Iface $message E-mail message object
public function send( \Aimeos\MW\Mail\Message\Iface $message )
$message->getObject()->send();