Added feature #15998: Create a new API to send mails based on SwiftMailer to replace...
[Packages/TYPO3.CMS.git] / typo3 / contrib / swiftmailer / classes / Swift / Mime / HeaderEncoder / Base64HeaderEncoder.php
1 <?php
2
3 /*
4 * This file is part of SwiftMailer.
5 * (c) 2004-2009 Chris Corbyn
6 *
7 * For the full copyright and license information, please view the LICENSE
8 * file that was distributed with this source code.
9 */
10
11 require_once dirname(__FILE__) . '/../HeaderEncoder.php';
12 require_once dirname(__FILE__) . '/../../Encoder/Base64Encoder.php';
13
14
15 /**
16 * Handles Base64 (B) Header Encoding in Swift Mailer.
17 * @package Swift
18 * @subpackage Mime
19 * @author Chris Corbyn
20 */
21 class Swift_Mime_HeaderEncoder_Base64HeaderEncoder
22 extends Swift_Encoder_Base64Encoder
23 implements Swift_Mime_HeaderEncoder
24 {
25
26 /**
27 * Get the name of this encoding scheme.
28 * Returns the string 'B'.
29 * @return string
30 */
31 public function getName()
32 {
33 return 'B';
34 }
35
36 }