Elgg  Version master
HtmlPart.php
Go to the documentation of this file.
1 <?php
2 
3 namespace Elgg\Email;
4 
7 
15 class HtmlPart extends Part {
16 
20  public function __construct($content = '') {
21  parent::__construct($content);
22 
23  $this->setType(Mime::TYPE_HTML);
24  $this->setCharset('UTF-8');
25  $this->setEncoding(Mime::ENCODING_BASE64);
26  $this->setId('htmltext');
27  }
28 }
const ENCODING_BASE64
Definition: Mime.php:47
Html part for email.
Definition: HtmlPart.php:15
const TYPE_HTML
Definition: Mime.php:41
__construct($content= '')
Definition: HtmlPart.php:20
$content
Set robots.txt action.
Definition: set_robots.php:6